|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The basic interface to queries on security and privacy of a Node.
The static values represent the right to access the various restricted interfaces of a Node.
The READ permission represents access to the Content of a Node. Without this, a User may only access a Node's NID and Type.
The EDIT permission represents access to an Editor for a Node. Without this permission, a User may not modify the contents of a Node. When the owner of a Node removes his/her own EDIT permission, then the Node is read-only. An EDIT permission cannot be granted to anyone without READ permission.
The HISTORY permission allows a User access to the NodeHistory for a Node. This allows one to examine the audit trail or provenance of a Node.
The DELEGATE permission allows a User to delegate a subset of his own permissions to another User or revoke permissions previously delegated. If this permission is revoked, then all such delegated permissions are automatically revoked.
The MANAGE permission allows a User access to the NodeManager interface. This enables a rather complete manipulation of a Node's permissions.
On creation, the owner of a Node is granted all of these permissions.
Field Summary | |
static int |
DELEGATE
|
static int |
EDIT
|
static int |
HISTORY
|
static int |
MANAGE
|
static int |
READ
|
Method Summary | |
boolean |
allowed(int ops)
|
Field Detail |
public static final int READ
public static final int EDIT
public static final int HISTORY
public static final int DELEGATE
public static final int MANAGE
Method Detail |
public boolean allowed(int ops)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |