Platform Explorer / Nuxeo Platform 6.0

Operation Document.RemovePermission

Remove Permission

Description

Remove permissions for a given user on the input document(s). Returns the document(s).
Operation id Document.RemovePermission
Category Document
Label Remove Permission
Requires
Since

Parameters

Name Description Type Required Default value
user string yes  
acl string no  

Signature

Inputs document, documents
Outputs document, documents

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.document.RemovePermission
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Document.RemovePermission",
  "label" : "Remove Permission",
  "category" : "Document",
  "requires" : null,
  "description" : "Remove a permission given its id or all permissions for a given user on the input document(s). Parameter 'id' or 'user' must be set. Returns the document(s).",
  "url" : "Document.RemovePermission",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "acl",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "id",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "user",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}