| Package | Description |
|---|---|
| eu.dnetlib.dnetrolemanagement.controllers |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Response> |
SuperAdminController.assignRole(String email)
Assign portal admin role to user with @email
|
org.springframework.http.ResponseEntity<Response> |
CuratorController.assignRole(String type,
String email,
boolean force)
Assign curator role to logged in user or user with @email
|
org.springframework.http.ResponseEntity<Response> |
AdminController.assignRole(String type,
String id,
String email,
String identifier,
boolean force)
Assign admin role to logged-in user or user with @email
If role doesn't exist or user is not a member of this group already, use force=true to create and assign both roles.
|
org.springframework.http.ResponseEntity<Response> |
MemberController.assignRole(String type,
String id,
String identifier,
String email,
boolean force)
Assign member role to logged-in user or user with @email
If role doesn't exist, use force=true to create and assign the role
|
org.springframework.http.ResponseEntity<Response> |
MemberController.createGroup(String type,
String id,
String description)
Create a new Group for an entity (only for admins)
|
org.springframework.http.ResponseEntity<Response> |
SuperAdminController.createRole(String name,
String description)
Create a new role (only for admins)
|
org.springframework.http.ResponseEntity<Response> |
CuratorController.createRole(String type,
String description)
Create a new Curator role (only for admins)
|
org.springframework.http.ResponseEntity<Response> |
SuperAdminController.removeRole(String email)
Remove portal admin role from logged in user or user with @email
|
org.springframework.http.ResponseEntity<Response> |
CuratorController.removeRole(String type,
String email)
Remove curator role from logged in user or user with @email
|
org.springframework.http.ResponseEntity<Response> |
AdminController.removeRole(String type,
String id,
String identifier,
String email)
Remove admin role from logged-in user or user with @email
|
org.springframework.http.ResponseEntity<Response> |
MemberController.removeRole(String type,
String id,
String identifier,
String email,
boolean force)
Remove member role from logged-in user or user with @email
If user is an admin of this group, use force=true to revoke both roles
|
Copyright © 2023. All rights reserved.