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
FieldsModifier and TypeFieldDescriptionprotected Stringstatic final StringConfiguration property name, which defines whether virtual user (non-existent user) is allowed in Nuxeo automation.protected Calendarprotected booleanprotected Stringstatic final Stringprotected Stringprotected Calendarstatic final Stringprotected booleanstatic final Stringprotected Stringprotected CoreSessionprotected StringList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidrun(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
-
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()
-