Project

General

Profile

« Previous | Next » 

Revision 61373

added method documentation

View differences:

modules/uoa-repository-manager-service/branches/aai_roles_new/src/main/java/eu/dnetlib/repo/manager/service/security/AuthorizationService.java
51 51
    boolean removeAdmin(String id, String email) throws ResourceNotFoundException;
52 52

  
53 53

  
54
    /**
55
     * Returns the roles of the authenticated user.
56
     * 
57
     * @return
58
     */
54 59
    Collection<String> getUserRoles();
55 60

  
56

  
61
    /**
62
     * Returns the roles of the user with the given email.
63
     *
64
     * @param email
65
     * @return
66
     */
57 67
    Collection<String> getUserRoles(String email);
58 68

  
59 69
}

Also available in: Unified diff