added method documentation
This commit is contained in:
parent
aaecacd58b
commit
b8c1e18d27
|
@ -51,9 +51,19 @@ public interface AuthorizationService {
|
|||
boolean removeAdmin(String id, String email) throws ResourceNotFoundException;
|
||||
|
||||
|
||||
/**
|
||||
* Returns the roles of the authenticated user.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
Collection<String> getUserRoles();
|
||||
|
||||
|
||||
/**
|
||||
* Returns the roles of the user with the given email.
|
||||
*
|
||||
* @param email
|
||||
* @return
|
||||
*/
|
||||
Collection<String> getUserRoles(String email);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue