Modifier and Type | Method and Description |
---|---|
Permission |
AclCrudDAO.createPermission(PermissionReference permissionReference) |
Permission |
AbstractAclCrudDAOImpl.createPermission(PermissionReference permissionReference) |
void |
AbstractPermissionsDaoComponentImpl.deletePermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference permission)
Deletes all permission entries (access control list entries) that match the given criteria.
|
void |
AbstractPermissionsDaoComponentImpl.deletePermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference permission) |
Set<org.alfresco.service.cmr.repository.NodeRef> |
AbstractPermissionsDaoComponentImpl.findNodeByPermission(String authority,
PermissionReference permission,
boolean allow) |
Permission |
AclCrudDAO.getOrCreatePermission(PermissionReference permissionReference) |
Permission |
AbstractAclCrudDAOImpl.getOrCreatePermission(PermissionReference permissionReference) |
Permission |
AclCrudDAO.getPermission(PermissionReference permissionReference) |
Permission |
AbstractAclCrudDAOImpl.getPermission(PermissionReference permissionReference) |
void |
AbstractPermissionsDaoComponentImpl.setPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference permission,
boolean allow) |
void |
AbstractPermissionsDaoComponentImpl.setPermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference permission,
boolean allow) |
Modifier and Type | Method and Description |
---|---|
PermissionReference |
PermissionServiceSPI.getAllPermissionReference()
Get the All Permission
|
PermissionReference |
SimpleAccessControlEntry.getPermission() |
PermissionReference |
AccessControlEntry.getPermission() |
PermissionReference |
PermissionEntry.getPermissionReference()
Get the permission definition.
|
PermissionReference |
PermissionServiceSPI.getPermissionReference(org.alfresco.service.namespace.QName qname,
String permissionName)
Get the permission reference for the given data type and permission name.
|
PermissionReference |
PermissionServiceSPI.getPermissionReference(String permissionName)
Get the permission reference by permission name.
|
Modifier and Type | Method and Description |
---|---|
Set<PermissionReference> |
PermissionServiceSPI.getSettablePermissionReferences(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the permissions that can be set for a given type
|
Set<PermissionReference> |
PermissionServiceSPI.getSettablePermissionReferences(org.alfresco.service.namespace.QName type)
Get the permissions that can be set for a given type
|
Set<PermissionReference> |
DynamicAuthority.requiredFor()
For what permission checks is this dynamic authority required?
If null, it is required for all checks.
|
Modifier and Type | Method and Description |
---|---|
NodePermissionEntry |
PermissionServiceSPI.explainPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm)
Where is the permission set that controls the behaviour for the given
permission for the given authentication to access the specified name.
|
String |
PermissionServiceSPI.getPermission(PermissionReference permissionReference)
Get the string that can be used to identify the given permission reference.
|
org.alfresco.service.cmr.security.AccessStatus |
PermissionServiceSPI.hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm)
Check that the given authentication has a particular permission for the
given node.
|
void |
SimpleAccessControlEntry.setPermission(PermissionReference permission)
Set the permission
|
Modifier and Type | Method and Description |
---|---|
Set<PermissionReference> |
LockOwnerDynamicAuthority.requiredFor() |
Set<PermissionReference> |
OwnerDynamicAuthority.requiredFor() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPermissionReference
This class provides common support for hash code and equality.
|
class |
PermissionReferenceImpl
A simple permission reference (not persisted).
|
class |
RequiredPermission
Store and read the definition of a required permission.
|
class |
SimplePermissionReference
A simple permission reference.
|
Modifier and Type | Field and Description |
---|---|
protected PermissionReference |
PermissionServiceImpl.allPermissionReference |
Modifier and Type | Method and Description |
---|---|
PermissionReference |
PermissionServiceImpl.getAllPermissionReference() |
PermissionReference |
SimplePermissionEntry.getPermissionReference() |
PermissionReference |
PermissionServiceImpl.getPermissionReference(org.alfresco.service.namespace.QName qname,
String permissionName) |
PermissionReference |
ModelDAO.getPermissionReference(org.alfresco.service.namespace.QName qname,
String permissionName)
Find a permission by name in the type context.
|
PermissionReference |
PermissionServiceImpl.getPermissionReference(String permissionName) |
Modifier and Type | Method and Description |
---|---|
Set<PermissionReference> |
ModelDAO.getAllExposedPermissions()
Get all exposed permissions (regardless of type exposure)
|
Set<PermissionReference> |
ModelDAO.getAllPermissions()
Get all exposed permissions (regardless of type exposure)
|
Set<PermissionReference> |
ModelDAO.getAllPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the permissions that can be set for the given node.
|
Set<PermissionReference> |
ModelDAO.getAllPermissions(org.alfresco.service.namespace.QName type)
Get the permissions that can be set for the given type.
|
Set<PermissionReference> |
ModelDAO.getAllPermissions(org.alfresco.service.namespace.QName type,
Set<org.alfresco.service.namespace.QName> aspects)
Get the permissions that can be set for the given type.
|
Set<PermissionReference> |
ModelDAO.getExposedPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the permissions that are exposed to be set for the given node.
|
Set<PermissionReference> |
ModelDAO.getExposedPermissions(org.alfresco.service.namespace.QName type)
Get the permissions that are exposed to be set for the given type.
|
Set<PermissionReference> |
ModelDAO.getGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
Set<PermissionReference> |
ModelDAO.getGrantingPermissions(PermissionReference perm)
Get all the permissions that grant this permission.
|
Set<PermissionReference> |
ModelDAO.getImmediateGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
Set<PermissionReference> |
ModelDAO.getRequiredPermissions(PermissionReference required,
org.alfresco.service.namespace.QName qName,
Set<org.alfresco.service.namespace.QName> aspectQNames,
RequiredPermission.On on)
Get the permissions that must also be present on the node for the required permission to apply.
|
Set<PermissionReference> |
PermissionServiceImpl.getSettablePermissionReferences(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Set<PermissionReference> |
PermissionServiceImpl.getSettablePermissionReferences(org.alfresco.service.namespace.QName type) |
Set<PermissionReference> |
ModelDAO.getUnconditionalRequiredPermissions(PermissionReference required,
RequiredPermission.On on) |
Modifier and Type | Method and Description |
---|---|
boolean |
ModelDAO.checkPermission(PermissionReference required)
Is this permission refernece to a permission and not a permissoinSet?
|
void |
PermissionsDaoComponent.deletePermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference permission)
Delete as single permission entry, if a match is found.
|
protected void |
PermissionServiceImpl.deletePermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference perm) |
void |
PermissionsDaoComponent.deletePermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference perm)
Remove part of a permission mask from a store
|
protected void |
PermissionServiceImpl.deletePermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference perm) |
NodePermissionEntry |
PermissionServiceImpl.explainPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm) |
protected Set<String> |
PermissionServiceImpl.getAuthorisations(net.sf.acegisecurity.Authentication auth,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference required)
Get the authorisations for the currently authenticated user
|
protected Set<String> |
PermissionServiceImpl.getDynamicAuthorities(net.sf.acegisecurity.Authentication auth,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference required) |
Set<PermissionReference> |
ModelDAO.getGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
Set<PermissionReference> |
ModelDAO.getGrantingPermissions(PermissionReference perm)
Get all the permissions that grant this permission.
|
Set<PermissionReference> |
ModelDAO.getImmediateGranteePermissions(PermissionReference permissionReference)
Get the permissions which are granted by the supplied permission.
|
String |
PermissionServiceImpl.getPermission(PermissionReference permissionReference) |
Set<PermissionReference> |
ModelDAO.getRequiredPermissions(PermissionReference required,
org.alfresco.service.namespace.QName qName,
Set<org.alfresco.service.namespace.QName> aspectQNames,
RequiredPermission.On on)
Get the permissions that must also be present on the node for the required permission to apply.
|
Set<PermissionReference> |
ModelDAO.getUnconditionalRequiredPermissions(PermissionReference required,
RequiredPermission.On on) |
boolean |
ModelDAO.hasFull(PermissionReference permissionReference)
Does this permission allow full control?
|
protected org.alfresco.service.cmr.security.AccessStatus |
PermissionServiceImpl.hasPermission(Long aclId,
org.alfresco.service.cmr.security.PermissionContext context,
PermissionReference permission) |
org.alfresco.service.cmr.security.AccessStatus |
AllowPermissionServiceImpl.hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm) |
org.alfresco.service.cmr.security.AccessStatus |
PermissionServiceImpl.hasPermission(org.alfresco.service.cmr.repository.NodeRef passedNodeRef,
PermissionReference permIn) |
boolean |
ModelDAO.isUnique(PermissionReference permissionReference)
Does the permission reference have a unique name?
|
void |
PermissionsDaoComponent.setPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference perm,
boolean allow)
Set a permission on a node.
|
protected void |
PermissionServiceImpl.setPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String authority,
PermissionReference perm,
boolean allow) |
void |
PermissionsDaoComponent.setPermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference permission,
boolean allow)
Set part of a permission mask on a store.
|
protected void |
PermissionServiceImpl.setPermission(org.alfresco.service.cmr.repository.StoreRef storeRef,
String authority,
PermissionReference permission,
boolean allow) |
Constructor and Description |
---|
SimplePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference permissionReference,
String authority,
org.alfresco.service.cmr.security.AccessStatus accessStatus) |
SimplePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference permissionReference,
String authority,
org.alfresco.service.cmr.security.AccessStatus accessStatus,
int position) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPermission
Support to read and store common properties for permissions
|
class |
DynamicPermission
The definition of a required permission
|
class |
Permission
Support to read and store the definition of a permission.
|
class |
PermissionGroup
Support to read and store the defintion of permission groups.
|
Modifier and Type | Method and Description |
---|---|
PermissionReference |
ModelPermissionEntry.getPermissionReference() |
PermissionReference |
GlobalPermissionEntry.getPermissionReference() |
PermissionReference |
PermissionModel.getPermissionReference(org.alfresco.service.namespace.QName qname,
String permissionName) |
Modifier and Type | Method and Description |
---|---|
Set<PermissionReference> |
PermissionModel.getAllExposedPermissions() |
Set<PermissionReference> |
PermissionModel.getAllPermissions() |
Set<PermissionReference> |
PermissionModel.getAllPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Set<PermissionReference> |
PermissionModel.getAllPermissions(org.alfresco.service.namespace.QName type) |
Set<PermissionReference> |
PermissionModel.getAllPermissions(org.alfresco.service.namespace.QName typeName,
Set<org.alfresco.service.namespace.QName> aspects) |
Set<PermissionReference> |
PermissionModel.getExposedPermissions(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Set<PermissionReference> |
PermissionModel.getExposedPermissions(org.alfresco.service.namespace.QName type) |
Set<PermissionReference> |
Permission.getGrantedToGroups()
Get the groups for which this permission is granted (by definition - filled in by the model API)
|
Set<PermissionReference> |
PermissionModel.getGranteePermissions(PermissionReference permissionReference) |
Set<PermissionReference> |
PermissionModel.getGrantingPermissions(PermissionReference permissionReference) |
Set<PermissionReference> |
PermissionModel.getImmediateGranteePermissions(PermissionReference permissionReference) |
Set<PermissionReference> |
PermissionGroup.getIncludedPermissionGroups()
What permission groups are included in this one (for ease of definition)
|
Set<PermissionReference> |
PermissionModel.getRequiredPermissions(PermissionReference required,
org.alfresco.service.namespace.QName qName,
Set<org.alfresco.service.namespace.QName> aspectQNames,
RequiredPermission.On on) |
Set<PermissionReference> |
PermissionModel.getUnconditionalRequiredPermissions(PermissionReference required,
RequiredPermission.On on) |
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionModel.checkPermission(PermissionReference required) |
org.alfresco.service.cmr.security.AccessStatus |
PermissionModel.getDefaultPermission(PermissionReference pr)
Get the default acces status for the givne permission
|
Set<PermissionReference> |
PermissionModel.getGranteePermissions(PermissionReference permissionReference) |
Set<PermissionReference> |
PermissionModel.getGrantingPermissions(PermissionReference permissionReference) |
Set<PermissionReference> |
PermissionModel.getImmediateGranteePermissions(PermissionReference permissionReference) |
static PermissionModel.RequiredKey |
PermissionModel.RequiredKey.getRequiredKey(PermissionReference required,
org.alfresco.service.namespace.QName qName,
Set<org.alfresco.service.namespace.QName> aspectQNames,
RequiredPermission.On on)
factory for the key
|
Set<PermissionReference> |
PermissionModel.getRequiredPermissions(PermissionReference required,
org.alfresco.service.namespace.QName qName,
Set<org.alfresco.service.namespace.QName> aspectQNames,
RequiredPermission.On on) |
Set<PermissionReference> |
PermissionModel.getUnconditionalRequiredPermissions(PermissionReference required,
RequiredPermission.On on) |
boolean |
PermissionModel.hasFull(PermissionReference permissionReference) |
boolean |
PermissionModel.isUnique(PermissionReference permissionReference) |
Modifier and Type | Method and Description |
---|---|
PermissionReference |
PermissionServiceNOOPImpl.getAllPermissionReference() |
PermissionReference |
PermissionServiceNOOPImpl.getPermissionReference(org.alfresco.service.namespace.QName qname,
String permissionName) |
PermissionReference |
PermissionServiceNOOPImpl.getPermissionReference(String permissionName) |
Modifier and Type | Method and Description |
---|---|
Set<PermissionReference> |
PermissionServiceNOOPImpl.getSettablePermissionReferences(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Set<PermissionReference> |
PermissionServiceNOOPImpl.getSettablePermissionReferences(org.alfresco.service.namespace.QName type) |
Modifier and Type | Method and Description |
---|---|
NodePermissionEntry |
PermissionServiceNOOPImpl.explainPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm) |
String |
PermissionServiceNOOPImpl.getPermission(PermissionReference permissionReference) |
org.alfresco.service.cmr.security.AccessStatus |
PermissionServiceNOOPImpl.hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm) |
Modifier and Type | Method and Description |
---|---|
PermissionReference |
VirtualPermissionServiceExtension.getAllPermissionReference() |
PermissionReference |
VirtualPermissionServiceExtension.getPermissionReference(org.alfresco.service.namespace.QName qname,
String permissionName) |
PermissionReference |
VirtualPermissionServiceExtension.getPermissionReference(String permissionName) |
Modifier and Type | Method and Description |
---|---|
Set<PermissionReference> |
VirtualPermissionServiceExtension.getSettablePermissionReferences(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Set<PermissionReference> |
VirtualPermissionServiceExtension.getSettablePermissionReferences(org.alfresco.service.namespace.QName type) |
Modifier and Type | Method and Description |
---|---|
NodePermissionEntry |
VirtualPermissionServiceExtension.explainPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm) |
String |
VirtualPermissionServiceExtension.getPermission(PermissionReference permissionReference) |
org.alfresco.service.cmr.security.AccessStatus |
VirtualPermissionServiceExtension.hasPermission(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference perm) |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.security.AccessStatus |
VirtualStoreImpl.hasPermission(Reference reference,
PermissionReference perm) |
org.alfresco.service.cmr.security.AccessStatus |
VirtualStore.hasPermission(Reference reference,
PermissionReference perm)
Check that the given authentication has a particular permission for the
given virtualized artefact.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.