Class AddPermission
java.lang.Object
org.nuxeo.ecm.automation.core.operations.document.AddPermission
Operation that adds a permission to a given ACL for a given user.
- Since:
- 5.7.3
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
static final String
Configuration property name, which defines whether virtual user (non-existent user) is allowed in Nuxeo automation.protected Calendar
protected boolean
protected String
static final String
protected String
protected Calendar
static final String
protected boolean
static final String
protected String
protected CoreSession
protected String
Deprecated.protected StringList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
Method to help deprecatinguser
parameter.run
(DocumentModel doc) run
(DocumentRef docRef) protected void
-
Field Details
-
ID
- See Also:
-
NOTIFY_KEY
- See Also:
-
COMMENT_KEY
- See Also:
-
ALLOW_VIRTUAL_USER
Configuration property name, which defines whether virtual user (non-existent user) is allowed in Nuxeo automation. If allowed, Nuxeo server will not check the user existence during automation execution. Set this property to true if you use Nuxeo computed user or computed group.- Since:
- 9.1
- See Also:
-
session
-
users
- Since:
- 10.3
-
user
Deprecated.since 10.3, useusers
instead. -
email
- Since:
- 8.1
-
permission
-
aclName
-
begin
-
end
-
blockInheritance
protected boolean blockInheritance -
notify
protected boolean notify -
comment
-
-
Constructor Details
-
AddPermission
public AddPermission()
-
-
Method Details
-
run
-
run
-
addPermission
-
validateParameters
protected void validateParameters() -
ensureUserListIsUsed
protected void ensureUserListIsUsed()Method to help deprecatinguser
parameter.
-
users
instead.