From 882f1c4f401b9499b4fc18a631de2bfe2e78a5b9 Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Fri, 3 Dec 2021 19:29:01 +0100 Subject: [PATCH] Update 'Documentation' --- Documentation.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation.md b/Documentation.md index 2ec1b19..76b4365 100644 --- a/Documentation.md +++ b/Documentation.md @@ -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")