Feature #20889 and added the missing role names

This commit is contained in:
Massimiliano Assante 2021-03-05 16:44:04 +01:00
parent 4d01a9a38b
commit 9a751ee249
3 changed files with 15 additions and 8 deletions

View File

@ -1,16 +1,20 @@
# Changelog for workspace # Changelog for user management library
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v2.5.3-SNAPSHOT] - 2021-03-05
[#20889] UserManagement enhancement: add the roles "Data-Editor"
## [v2.5.2] - 2020-10-19 ## [v2.5.2] - 2020-10-19
Bug Fix Bug Fix
[#19978] LiferayUserManager#listMembershipRequestsByGroup issue in returned list and improved AcceptMembershipRequests method [#19978] LiferayUserManager#listMembershipRequestsByGroup issue in returned list and improved AcceptMembershipRequests method
## [v2.5.1] [r4.25.0] - 2020-07-10 ## [v2.5.1]- 2020-07-10
[#19603]Enhance performance of VRE membership requests retrieval by adding dedicated method for retrieving pending requests by groupid [#19603]Enhance performance of VRE membership requests retrieval by adding dedicated method for retrieving pending requests by groupid

View File

@ -10,7 +10,7 @@
</parent> </parent>
<groupId>org.gcube.dvos</groupId> <groupId>org.gcube.dvos</groupId>
<artifactId>usermanagement-core</artifactId> <artifactId>usermanagement-core</artifactId>
<version>2.5.2</version> <version>2.5.3-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>User Management API</name> <name>User Management API</name>

View File

@ -1,13 +1,16 @@
package org.gcube.vomanagement.usermanagement.model; package org.gcube.vomanagement.usermanagement.model;
public enum GatewayRolesNames { public enum GatewayRolesNames {
ACCOUNTING_MANAGER("Accounting-Manager"),
CATALOGUE_ADMIN("Catalogue-Admin"),
CATALOGUE_EDITOR("Catalogue-Editor"),
INFRASTRUCTURE_MANAGER("Infrastructure-Manager"),
DATAMINER_MANAGER("DataMiner-Manager"),
DATA_MANAGER("Data-Manager"),
DATA_EDITOR("Data-Editor"),
VRE_MANAGER("VRE-Manager"), VRE_MANAGER("VRE-Manager"),
VRE_DESIGNER("VRE-Designer"), VRE_DESIGNER("VRE-Designer"),
VO_ADMIN("VO-Admin"), VO_ADMIN("VO-Admin");
INFRASTRUCTURE_MANAGER("Infrastructure-Manager"),
DATA_MANAGER("Data-Manager"),
CATALOGUE_ADMIN("Catalogue-Admin"),
CATALOGUE_EDITOR("Catalogue-Editor");
private String name; private String name;