minor fix: wrong toUpperCase invocation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132005 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6017ee35af
commit
08c494f2d6
|
@ -53,7 +53,7 @@ public class AssociationToGroupThread extends Thread {
|
|||
logger.debug("Group exists, going to add the user " + username + " as its admin...");
|
||||
|
||||
// retrieve the role to be assigned according the one the user has into the organization of the dataset
|
||||
RolesCkanGroupOrOrg role = RolesCkanGroupOrOrg.valueOf(catalogue.getRoleOfUserInOrganization(username, organization, catalogue.getApiKeyFromUsername(username).toUpperCase()));
|
||||
RolesCkanGroupOrOrg role = RolesCkanGroupOrOrg.valueOf(catalogue.getRoleOfUserInOrganization(username, organization, catalogue.getApiKeyFromUsername(username)).toUpperCase());
|
||||
|
||||
boolean assigned = catalogue.checkRoleIntoGroup(username, groupTitle, role);
|
||||
|
||||
|
|
Loading…
Reference in New Issue