Update 'Documentation'
parent
fcf7d440bc
commit
882f1c4f40
|
@ -20,7 +20,10 @@ OpenAIRE services are using Spring Security to authenticate users and check thei
|
|||
|
||||
## Role Management
|
||||
|
||||
This web service provides 4 controllers with methods to create, assign or revoke roles from users and retrieve information of users with a specific Authority. Add session id in a header named "session" in order to use logged in user instead of a user with a specific email. If Authorities' list of a user has been changed, the his active sessions will be updated automatically from this service.
|
||||
This web service provides 4 controllers with methods to create, assign or revoke roles from users and retrieve information of users with a specific Authority. If Authorities' list of a user has been changed, the his active sessions will be updated automatically from this service.
|
||||
There are two options in order to update user's Authorities.
|
||||
* Give a header named **Session** with value the session id.
|
||||
* Give user's email. If this parameter is present then it has priority.
|
||||
|
||||
### Admin Controller ("/admin")
|
||||
|
||||
|
|
Loading…
Reference in New Issue