Project

General

Profile

« Previous | Next » 

Revision 66e37e5a

Added by Andreas Kohlbecker over 5 years ago

typo

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/permission/RegistrationCuratorRoleProbe.java
25 25
        if(authentication != null) {
26 26
            return authentication.getAuthorities().stream().anyMatch(a -> {
27 27
                return a.equals(RolesAndPermissions.ROLE_CURATION)
28
                        // doing faster regex check here instreas of using CdmAuthoritiy.fromString()
28
                        // doing faster regex check here instead of using CdmAuthoritiy.fromString()
29 29
                        || a.getAuthority().matches("^Registration\\.\\[.*UPDATE");
30 30
            });
31 31
        }

Also available in: Unified diff