refactoring acl methods and adding new tests based on grantedAuthoritySid
javadoc