Skip to content

Commit

Permalink
AssignRoleToUsers should not be implied by EditUsers
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed Nov 5, 2024
1 parent d5a4d64 commit d15bff6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static class CommonPermissions

public static readonly Permission ListUsers = new("ListUsers", "List all users", [EditUsers, DeleteUsers]);

public static readonly Permission AssignRoleToUsers = new("AssignRoleToUsers", "Assign any role to users", [EditUsers], true);
public static readonly Permission AssignRoleToUsers = new("AssignRoleToUsers", "Assign any role to users", true);

public static readonly Permission DisableTwoFactorAuthenticationForUsers = new("DisableTwoFactorAuthenticationForUsers", "Disable two-factor authentication for any user", [ManageUsers], true);

Expand Down

0 comments on commit d15bff6

Please sign in to comment.