Files
alfresco-community-repo/repository
evasques 9ca1212a3e MNT-22135 Filter policy to only run on admin auth - Unit test (#275) (#281)
Created unit test testIfGroupIsAdminAuthority to check if public method isAdminAuthority correctly validates groups:
* Verify it can identify GROUP_ALFRESCO_ADMINISTRATORS as an admin group
* Verify created groups (non administrators) and users are not considered administrators
* Add a subgroup to the parent group and verify if its still identified as non admin
* Add the group to the administrators group and verify if both group and subgroup are identified correctly as admins
* Add the user to the subgroup and verify if he's an admin
* Create a group with the same name as an admin user, group should not be identified as admin

(cherry picked from commit 592dde531f)
2021-02-09 16:20:25 +00:00
..