protected override Task HandleRequirementAsync(AuthorizationHandlerContext context, HasPermissionRequirement requirement)
        {
            Permissions permissione = requirement.Permission;


            if (permissione == Permissions.Admin)
            {
                if (context.CurrentUserIsBoss() || context.CurrentUserIsDev())
                {
                    context.Succeed(requirement);
                    return(Task.CompletedTask);
                }
            }

            context.Fail();
            return(Task.CompletedTask);
        }