public class CatalogueRoleManager extends Object
| Constructor and Description |
|---|
CatalogueRoleManager() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.datacatalogue.ckanutillibrary.shared.RolesCkanGroupOrOrg |
getHighestRole(String currentScope,
String username,
String groupName,
CKANPublisherServicesImpl gcubeCkanDataCatalogServiceImpl,
List<OrganizationBean> orgsInWhichAtLeastEditorRole)
Retrieve the highest ckan role the user has and also retrieve the list of organizations (scopes) in which the user has the ckan-admin or ckan-editor role
|
public static org.gcube.datacatalogue.ckanutillibrary.shared.RolesCkanGroupOrOrg getHighestRole(String currentScope, String username, String groupName, CKANPublisherServicesImpl gcubeCkanDataCatalogServiceImpl, List<OrganizationBean> orgsInWhichAtLeastEditorRole)
currentScope - username - groupName - gcubeCkanDataCatalogServiceImpl - orgsInWhichAtLeastEditorRole - Copyright © 2018. All Rights Reserved.