public class CatalogueRoleManager extends Object
| Constructor and Description |
|---|
CatalogueRoleManager() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.datacatalogue.utillibrary.shared.RolesCkanGroupOrOrg |
getHighestRole(String currentScope,
String username,
String groupName,
CKANPublisherServicesImpl gcubeCkanDataCatalogServiceImpl,
List<OrganizationBean> orgsInWhichAtLeastEditorRole,
String gatewayHostname)
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.utillibrary.shared.RolesCkanGroupOrOrg getHighestRole(String currentScope, String username, String groupName, CKANPublisherServicesImpl gcubeCkanDataCatalogServiceImpl, List<OrganizationBean> orgsInWhichAtLeastEditorRole, String gatewayHostname)
currentScope - username - groupName - gcubeCkanDataCatalogServiceImpl - orgsInWhichAtLeastEditorRole - Copyright © 2021. All Rights Reserved.