Class ZmAccessControlList
Defined in: ZmAccessControlList.js.
Class Detail
ZmAccessControlList(aces)
Creates an empty access control list (ACL).
Author: Conrad Damon.
Method Detail
add(ace)
Adds the entry to the ACL.
cleanup()
Cleans up the ACL.
{Array}
getACLByGranteeType(right, gt)
Gets the access control entry by grantee type.
{ZmAccessControlEntry}
getACLByRight(right)
Gets the access control entry by right.
{Array}
getGrantees(right)
Gets the grantees.
{Array}
getGranteesInfo(right)
Gets the grantees info.
{constant}
getGranteeType(right)
Gets the grantee type.
grant(aces, callback, batchCmd)
Grants permissions on the access control entries.
remove(ace)
Removes the entry to the ACL.
revoke(aces, callback, batchCmd)
Revokes and denies permissions the access control entries.
<static>
{int}
ZmAccessControlList.sortByGrantee(a, b)
Sorts the ACL by grantee.
{String}
toString()
Returns a string representation of the object.
update(ace, removeEnty)
Updates the entry to the ACL.
|
||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:37 GMT-0400 (EDT)
|