Update 'Documentation'

Konstantinos Triantafyllou 2021-12-03 19:29:01 +01:00
parent fcf7d440bc
commit 882f1c4f40
1 changed files with 4 additions and 1 deletions

@ -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")