Actions
bug #7585
closedRegistrationCuratorRoleProbe does not only check the ROLE_CURATION
Status:
Closed
Priority:
Highest
Assignee:
Category:
cdm-vaadin
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
Severity:
normal
Found in Version:
Description
the check done in this class seems wrong:
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
?
Actions