bug #7585
Updated by Andreas Kohlbecker over 5 years ago
the check done in this class seems wrong:
~~~java
return a.equals(RolesAndPermissions.ROLE_CURATION)
// doing faster regex check here instreas of using CdmAuthoritiy.fromString()
|| a.getAuthority().matches("^Registration\\.\\[.*UPDATE");
~~~
Can it be replaced by the new `eu.etaxonomy.cdm.api.utility.RoleProber`