Platform Explorer / Nuxeo Platform 6.0

Operation Document.AddPermission (Add Permission)

Description

Add Permission on the input document(s). Returns the document(s).
Operation id Document.AddPermission
Category Document
Label Add Permission
Requires
Since

Parameters

Name Description Type Required Default value
permission string yes  
user string yes  
acl string no local 
blockInheritance boolean no  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

JSON Definition

{
  "id" : "Document.AddPermission",
  "label" : "Add Permission",
  "category" : "Document",
  "requires" : "",
  "description" : "Add Permission on the input document(s). Returns the document(s).",
  "url" : "Document.AddPermission",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "permission",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "user",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "acl",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ "local" ]
  }, {
    "name" : "blockInheritance",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}