Role fixed (they were added into the usermanagement)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129622 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e5b70d599c
commit
53edd1278f
6
pom.xml
6
pom.xml
|
@ -95,6 +95,12 @@
|
|||
<artifactId>gcubedatacatalogue-metadata-discovery</artifactId>
|
||||
<version>[0.1.0-SNAPSHOT,1.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.dvos</groupId>
|
||||
<artifactId>usermanagement-core</artifactId>
|
||||
<version>[2.0.0-SNAPSHOT,)</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.htmlparser.jericho</groupId>
|
||||
<artifactId>jericho-html</artifactId>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.gcube.datacatalogue.ckanutillibrary.models;
|
||||
|
||||
import org.gcube.vomanagement.usermanagement.model.GatewayRolesNames;
|
||||
|
||||
/**
|
||||
* CKan roles as appear in Liferay
|
||||
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||||
|
@ -7,7 +9,7 @@ package org.gcube.datacatalogue.ckanutillibrary.models;
|
|||
public class CkanRolesIntoLiferay {
|
||||
|
||||
public static final String CATALOG_MEMBER = "Catalogue-Member";
|
||||
public static final String CATALOG_ADMIN = "Catalogue-Admin";
|
||||
public static final String CATALOG_EDITOR = "Catalogue-Editor";
|
||||
public static final String CATALOG_ADMIN = GatewayRolesNames.CATALOGUE_ADMIN.getRoleName();
|
||||
public static final String CATALOG_EDITOR = GatewayRolesNames.CATALOGUE_EDITOR.getRoleName();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue