revoke()
Usage
revoke(principal, node, permissions)
Description
Revokes the given permissions on the given node from the given principal. This method modifies the security relationship between the first two parameters. Valid values for the permission list are read
, write
, delete
and accessControl
. The permissions are passed in as a comma-separated list (see the examples below). The return value is the empty string. See also grant()
and is_allowed()
.
Example
${revoke(me, group1, 'read')}
${revoke(me, group2, 'read, write')}
${revoke(me, group2, 'read, write, delete')}
${revoke(me, group2, 'read, write, delete, accessControl')}