1 # Permission Scenario Testing
3 Due to complexity that can arise in the various combinations of permissions, this document details scenarios and their expected results.
5 Test cases are written ability abstract, since all abilities should act the same in theory. Functional test cases may test abilities separate due to implementation differences.
9 ### Entity Role Permissions
11 These are tests related to entity-level role-specific permission overrides.
13 #### entity_role_01 - Explicit allow
15 - Page permissions have inherit disabled.
16 - Role A has explicit page permission.
19 User should have page permission.
21 #### entity_role_02 - Explicit deny
23 - Page permissions have inherit disabled.
24 - Role A has explicit page permission.
27 User should not have permission.
29 #### entity_role_03 - Same level conflicting
31 - Page permissions have inherit disabled.
32 - Role A has explicit page permission.
33 - Role B has explicit blocked page permission.
34 - User has both Role A & B.
36 User should have page permission. Explicit grant overrides explicit deny at same level.