IPermissionsClear Method |
Namespace: AskiaPortalCmn.Common
Case 1.
The UserA in the context have the following permissions:
- users : Create and edit
- groups : Create and edit
The UserB (the user to edit) have the following permissions:
- users : Full control
- groups: Read only
The method will return failed value because the `users` permission item UserB is higher than the permission of the UserA
Case 2.
The UserA in the context have the following permissions:
- users : Create and edit
- groups : Create and edit
The UserB (the user to edit) have the following permissions:
- users : Read only
- groups: Read only
The method will return success value because the all permissions item UserB is lower than the permissions of the UserA