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.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 |
---|---|
GlobalPermissionSet |
GlobalPermissionSetProvider.readFrom(Class<GlobalPermissionSet> bundleClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
Modifier and Type | Method and Description |
---|---|
GlobalPermissionSet |
GlobalPermissionSetProvider.readFrom(Class<GlobalPermissionSet> bundleClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
Modifier and Type | Method and Description |
---|---|
GlobalPermissionSet |
GlobalPermissionSet.Builder.build() |
static GlobalPermissionSet |
GlobalPermissionSet.empty() |
static GlobalPermissionSet |
GlobalPermissionSet.from(Map<ContentTypes,Collection<PermissionType>> permissionMatrix) |
static GlobalPermissionSet |
GlobalPermissionSet.from(com.google.common.collect.Multimap<ContentTypes,PermissionType> permissionMatrix) |
GlobalPermissionSet |
AclManager.getGlobalPermissions(Accessor accessor)
Recursive helper function to ascend an accessor's groups and populate
their global permissions.
|
GlobalPermissionSet |
GlobalPermissionSet.withPermission(ContentTypes contentType,
PermissionType... permission) |
Modifier and Type | Method and Description |
---|---|
List<Map<String,GlobalPermissionSet>> |
InheritedGlobalPermissionSet.serialize()
Serialize the InheritedGlobalPermissionSet to a
list containing a mappings of accessor ID to permissions.
|
Modifier and Type | Method and Description |
---|---|
void |
AclManager.setPermissionMatrix(Accessor accessor,
GlobalPermissionSet globals)
Set a matrix of global permissions for a given accessor.
|
InheritedGlobalPermissionSet.Builder |
InheritedGlobalPermissionSet.Builder.withInheritedPermissions(String accessorId,
GlobalPermissionSet permissionSet)
Add an accessor from whom the user inherits permissions.
|
Constructor and Description |
---|
Builder(String accessorId,
GlobalPermissionSet permissionSet)
Create a new builder with the primary (subject) accessor.
|
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.