Package | Description |
---|---|
eu.ehri.extension |
Jersey resource classes for providing
web service access to the graph, via
the
eu.ehri.project.api layer. |
eu.ehri.extension.providers | |
eu.ehri.project.acl |
Classes pertaining directly to the
access-control and permission system.
|
eu.ehri.project.api |
Classes that provide data access data on the graph in a
manner that incorporate the permission and access-control
systems.
|
Modifier and Type | Method and Description |
---|---|
InheritedGlobalPermissionSet |
PermissionsResource.getGlobalMatrix()
Get the global permission matrix for the user making the request, based
on the Authorization header.
|
InheritedGlobalPermissionSet |
PermissionsResource.getGlobalMatrix(String userId)
Get the global permission matrix for the given accessor.
|
InheritedGlobalPermissionSet |
PermissionsResource.getScopedMatrix(String userId,
String id)
Get the user's permissions for a given scope.
|
InheritedGlobalPermissionSet |
PermissionsResource.setGlobalMatrix(String userId,
GlobalPermissionSet globals)
Set a user's global permission matrix.
|
InheritedGlobalPermissionSet |
PermissionsResource.setScopedPermissions(String userId,
String id,
GlobalPermissionSet globals)
Set a user's permissions on a content type with a given scope.
|
Modifier and Type | Method and Description |
---|---|
long |
InheritedGlobalPermissionSetProvider.getSize(InheritedGlobalPermissionSet globalPermissionSet,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
InheritedGlobalPermissionSetProvider.writeTo(InheritedGlobalPermissionSet globalPermissionSet,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
InheritedGlobalPermissionSet |
InheritedGlobalPermissionSet.Builder.build()
Construct the InheritedGlobalPermissionSet from the builder.
|
InheritedGlobalPermissionSet |
AclManager.getInheritedGlobalPermissions(Accessor accessor)
Return a permission list for the given accessor and her inherited groups.
|
Modifier and Type | Method and Description |
---|---|
InheritedGlobalPermissionSet |
Api.Acl.setGlobalPermissionMatrix(Accessor userOrGroup,
GlobalPermissionSet permissionSet)
Set the global permission matrix for a user.
|
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.