Revision 61372
Added by Konstantinos Spyrou almost 3 years ago
AuthorizationService.java | ||
---|---|---|
3 | 3 |
import eu.dnetlib.repo.manager.domain.dto.User; |
4 | 4 |
import eu.dnetlib.repo.manager.exception.ResourceNotFoundException; |
5 | 5 |
|
6 |
import java.util.Collection; |
|
6 | 7 |
import java.util.List; |
7 | 8 |
|
8 | 9 |
public interface AuthorizationService { |
... | ... | |
48 | 49 |
* @throws ResourceNotFoundException |
49 | 50 |
*/ |
50 | 51 |
boolean removeAdmin(String id, String email) throws ResourceNotFoundException; |
52 |
|
|
53 |
|
|
54 |
Collection<String> getUserRoles(); |
|
55 |
|
|
56 |
|
|
57 |
Collection<String> getUserRoles(String email); |
|
58 |
|
|
51 | 59 |
} |
Also available in: Unified diff
1. optimization in retrieval time of repositories/snippets of authenticated user
2. Marked with FIXME methods that need attention