public class AddPermission extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_VIRTUAL_USER
Configuration property name, which defines whether virtual user (non-existent user) is allowed in Nuxeo
automation.
|
static String |
COMMENT_KEY |
protected String |
email |
static String |
ID |
static String |
NOTIFY_KEY |
protected CoreSession |
session |
protected String |
user |
Constructor and Description |
---|
AddPermission() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPermission(DocumentModel doc) |
protected void |
checkUserExistence(String username) |
DocumentModel |
run(DocumentModel doc) |
DocumentModel |
run(DocumentRef docRef) |
public static final String ID
public static final String NOTIFY_KEY
public static final String COMMENT_KEY
public static final String ALLOW_VIRTUAL_USER
protected CoreSession session
public AddPermission()
public DocumentModel run(DocumentModel doc)
public DocumentModel run(DocumentRef docRef)
protected void addPermission(DocumentModel doc)
protected void checkUserExistence(String username)
Copyright © 2017 Nuxeo. All rights reserved.