Revision 59772
Added by Konstantinos Triantafyllou over 3 years ago
modules/dnet-openaire-users/trunk/src/main/java/eu/dnetlib/openaire/usermanagement/utils/AuthorizationService.java | ||
---|---|---|
24 | 24 |
* |
25 | 25 |
* */ |
26 | 26 |
public String curator(String type) { |
27 |
return mapType(type).toUpperCase() + "_CURATOR";
|
|
27 |
return "CURATOR_" + mapType(type).toUpperCase();
|
|
28 | 28 |
} |
29 | 29 |
|
30 | 30 |
/** |
Also available in: Unified diff
[User | Trunk]: Reverse strings in isCurator method