Uses of Interface
org.nuxeo.ecm.core.api.security.ACP
-
Packages that use ACP Package Description org.nuxeo.ecm.automation.core.operations.document org.nuxeo.ecm.core.api org.nuxeo.ecm.core.api.impl org.nuxeo.ecm.core.api.security The core interfaces for managing security (access rights) in Nuxeo Core.org.nuxeo.ecm.core.api.security.impl Implementation of the access control interfaces.org.nuxeo.ecm.core.event.impl Event Service implementation.org.nuxeo.ecm.core.io.impl org.nuxeo.ecm.core.io.marshallers.json.document org.nuxeo.ecm.core.model org.nuxeo.ecm.core.opencmis.impl.server org.nuxeo.ecm.core.security org.nuxeo.ecm.core.storage.dbs org.nuxeo.ecm.core.storage.sql.coremodel org.nuxeo.ecm.core.storage.sql.security org.nuxeo.ecm.permissions org.nuxeo.ecm.platform.mail.security org.nuxeo.ecm.platform.publisher.rules org.nuxeo.ecm.platform.usermanager org.nuxeo.ecm.restapi.server.jaxrs.adapters org.nuxeo.wopi.lock -
-
Uses of ACP in org.nuxeo.ecm.automation.core.operations.document
Methods in org.nuxeo.ecm.automation.core.operations.document with parameters of type ACP Modifier and Type Method Description static boolean
DocumentPermissionHelper. addPermission(ACP acp, String aclName, String userName, String permission, boolean blockInheritance, String currentPrincipalName)
Deprecated.static boolean
DocumentPermissionHelper. addPermission(ACP acp, String aclName, String userName, String permission, boolean blockInheritance, String currentPrincipalName, Calendar begin, Calendar end, Map<String,Serializable> contextData)
Deprecated.static boolean
DocumentPermissionHelper. removePermission(ACP acp, String aclName, String principalName)
Deprecated.static boolean
DocumentPermissionHelper. removePermissionById(ACP acp, String aclName, String id)
Deprecated.Removes an ACE given its id. -
Uses of ACP in org.nuxeo.ecm.core.api
Fields in org.nuxeo.ecm.core.api declared as ACP Modifier and Type Field Description ACP
DocumentModel.DocumentModelRefresh. acp
Methods in org.nuxeo.ecm.core.api that return ACP Modifier and Type Method Description ACP
AbstractSession. getACP(DocumentRef docRef)
ACP
CoreSession. getACP(DocumentRef docRef)
Gets the document access control policy.ACP
DocumentModel. getACP()
Gets the access control policy (ACP) for this document.Methods in org.nuxeo.ecm.core.api with parameters of type ACP Modifier and Type Method Description void
AbstractSession. setACP(DocumentRef docRef, ACP newAcp, boolean overwrite)
protected void
AbstractSession. setACP(Document doc, ACP newAcp, boolean overwrite, Map<String,Serializable> options)
void
CoreSession. setACP(DocumentRef docRef, ACP acp, boolean overwrite)
Sets the ACP for this document.void
DocumentModel. setACP(ACP acp, boolean overwrite)
Sets the ACP for this document model. -
Uses of ACP in org.nuxeo.ecm.core.api.impl
Fields in org.nuxeo.ecm.core.api.impl declared as ACP Modifier and Type Field Description protected ACP
DocumentModelImpl. acp
Methods in org.nuxeo.ecm.core.api.impl that return ACP Modifier and Type Method Description ACP
DocumentModelImpl. getACP()
ACP
SimpleDocumentModel. getACP()
Methods in org.nuxeo.ecm.core.api.impl with parameters of type ACP Modifier and Type Method Description void
DocumentModelImpl. setACP(ACP acp, boolean overwrite)
void
SimpleDocumentModel. setACP(ACP acp, boolean overwrite)
-
Uses of ACP in org.nuxeo.ecm.core.api.security
Methods in org.nuxeo.ecm.core.api.security that return ACP Modifier and Type Method Description ACP
ACP. clone()
Return a recursive copy of the ACP sharing no mutable substructure with the original -
Uses of ACP in org.nuxeo.ecm.core.api.security.impl
Classes in org.nuxeo.ecm.core.api.security.impl that implement ACP Modifier and Type Class Description class
ACPImpl
The ACP implementation uses a cache used when calling getAccess(). -
Uses of ACP in org.nuxeo.ecm.core.event.impl
Methods in org.nuxeo.ecm.core.event.impl that return ACP Modifier and Type Method Description ACP
ShallowDocumentModel. getACP()
Methods in org.nuxeo.ecm.core.event.impl with parameters of type ACP Modifier and Type Method Description void
ShallowDocumentModel. setACP(ACP acp, boolean overwrite)
-
Uses of ACP in org.nuxeo.ecm.core.io.impl
Methods in org.nuxeo.ecm.core.io.impl with parameters of type ACP Modifier and Type Method Description protected static void
ExportedDocumentImpl. readACP(org.dom4j.Element element, ACP acp)
-
Uses of ACP in org.nuxeo.ecm.core.io.marshallers.json.document
Methods in org.nuxeo.ecm.core.io.marshallers.json.document with parameters of type ACP Modifier and Type Method Description protected void
ACPJsonWriter. writeEntityBody(ACP acp, com.fasterxml.jackson.core.JsonGenerator jg)
-
Uses of ACP in org.nuxeo.ecm.core.model
Methods in org.nuxeo.ecm.core.model that return ACP Modifier and Type Method Description abstract ACP
BaseSession. getACP(Document doc)
Gets the ACP for the document (without any inheritance).protected ACP
BaseSession. getACP(Document doc, boolean replaceReadVersionPermission)
ACP
BaseSession. getMergedACP(Document doc)
ACP
Session. getMergedACP(Document doc)
protected ACP
BaseSession. updateACP(ACP curAcp, ACP addAcp)
Returns the merge of two ACPs.Methods in org.nuxeo.ecm.core.model with parameters of type ACP Modifier and Type Method Description protected void
BaseSession. checkNegativeAcl(ACP acp)
void
Session. setACP(Document doc, ACP acp, boolean overwrite)
protected ACP
BaseSession. updateACP(ACP curAcp, ACP addAcp)
Returns the merge of two ACPs. -
Uses of ACP in org.nuxeo.ecm.core.opencmis.impl.server
Methods in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type ACP Modifier and Type Method Description protected static org.apache.chemistry.opencmis.commons.data.Acl
NuxeoObjectData. getAcl(ACP acp, boolean onlyBasicPermissions, NuxeoCmisService service)
-
Uses of ACP in org.nuxeo.ecm.core.security
Methods in org.nuxeo.ecm.core.security with parameters of type ACP Modifier and Type Method Description Access
CheckInSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Access
LockSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Access
RetentionAndHoldSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Access
SecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
Checks given permission for doc and principal.Access
SecurityPolicyService. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] principalsToCheck)
Checks given permission for doc and principal.Access
SecurityPolicyServiceImpl. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
-
Uses of ACP in org.nuxeo.ecm.core.storage.dbs
Methods in org.nuxeo.ecm.core.storage.dbs that return ACP Modifier and Type Method Description ACP
DBSSession. getACP(Document doc)
protected static ACP
DBSSession. memToAcp(String docId, Serializable acpSer)
Methods in org.nuxeo.ecm.core.storage.dbs with parameters of type ACP Modifier and Type Method Description static Serializable
DBSSession. acpToMem(ACP acp)
void
DBSSession. setACP(Document doc, ACP acp, boolean overwrite)
-
Uses of ACP in org.nuxeo.ecm.core.storage.sql.coremodel
Methods in org.nuxeo.ecm.core.storage.sql.coremodel that return ACP Modifier and Type Method Description protected static ACP
SQLSession. aclRowsToACP(ACLRow[] acls)
ACP
SQLSession. getACP(Document doc)
Methods in org.nuxeo.ecm.core.storage.sql.coremodel with parameters of type ACP Modifier and Type Method Description protected static ACLRow[]
SQLSession. acpToAclRows(ACP acp)
void
SQLSession. setACP(Document doc, ACP acp, boolean overwrite)
protected static ACLRow[]
SQLSession. updateAclRows(ACLRow[] aclrows, ACP acp)
-
Uses of ACP in org.nuxeo.ecm.core.storage.sql.security
Methods in org.nuxeo.ecm.core.storage.sql.security with parameters of type ACP Modifier and Type Method Description Access
NoFileSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
-
Uses of ACP in org.nuxeo.ecm.permissions
Methods in org.nuxeo.ecm.permissions with parameters of type ACP Modifier and Type Method Description protected List<org.nuxeo.ecm.permissions.PermissionListener.ACLDiff>
PermissionListener. extractACLDiffs(ACP oldACP, ACP newACP)
protected void
PermissionListener. handleUpdateACP(DocumentEventContext docCtx, ACP oldACP, ACP newACP)
protected List<String>
PermissionListener. toACLNames(ACP acp)
-
Uses of ACP in org.nuxeo.ecm.platform.mail.security
Methods in org.nuxeo.ecm.platform.mail.security with parameters of type ACP Modifier and Type Method Description Access
MailMessageSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
-
Uses of ACP in org.nuxeo.ecm.platform.publisher.rules
Fields in org.nuxeo.ecm.platform.publisher.rules declared as ACP Modifier and Type Field Description ACP
DefaultValidatorsRule.UnrestrictedACPGetter. acp
-
Uses of ACP in org.nuxeo.ecm.platform.usermanager
Methods in org.nuxeo.ecm.platform.usermanager with parameters of type ACP Modifier and Type Method Description String[]
FakeUserManagerImpl. getUsersForPermission(String perm, ACP acp)
String[]
MultiTenantUserManager. getUsersForPermission(String perm, ACP acp, DocumentModel context)
For an ACP, get the list of user that has a permission into the given context.String[]
UserManager. getUsersForPermission(String perm, ACP acp)
For an ACP, get the list of user that has a permission.String[]
UserManagerImpl. getUsersForPermission(String perm, ACP acp)
String[]
UserManagerImpl. getUsersForPermission(String perm, ACP acp, DocumentModel context)
-
Uses of ACP in org.nuxeo.ecm.restapi.server.jaxrs.adapters
Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters that return ACP Modifier and Type Method Description ACP
ACLAdapter. doGetACP()
-
Uses of ACP in org.nuxeo.wopi.lock
Methods in org.nuxeo.wopi.lock with parameters of type ACP Modifier and Type Method Description Access
WOPILockSecurityPolicy. checkPermission(Document doc, ACP mergedAcp, NuxeoPrincipal principal, String permission, String[] resolvedPermissions, String[] additionalPrincipals)
-