public interface RestSecurityService
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPermission(String requestPath)
Return TRUE if no permission configured for this request uri,
OR user has permission configured with that uri
For example: if no permission is configured, any user can access any rest resource But if the rest uri: /rest/calendar is configured with *:/platform/admins --> only admin group can access that resource The permissions are inherited, if there are config: /rest --> *:/admin, and /rest/calendar --> *:/users. |
static final String NOBODY
boolean hasPermission(String requestPath)
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.