mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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