Class Security.AccessControlList
A class which contains a list of allowed operations. Use User#getAccessControlList method to get 'Security.AccessControlList' object for a Fabric user. The possible values of the list elements are:
- ALLOW_ALL
- CLIENT_ALLOW_ALL
- CLIENT_RAISE_EVENT
- CLIENT_RAISE_ADVISORY
- CLIENT_RAISE_EXCEPTION
- CLIENT_CREATE_CONSUMER
- CLIENT_CREATE_RECEIVER
- SERVICE_ALLOW_ALL
- SERVICE_START
- SERVICE_STOP
- SERVICE_SUSPEND
- SERVICE_RESUME
- SERVICE_INVOKE
- DATASPACE_ALLOW_ALL
- DATASPACE_CREATE
- DATASPACE_DROP
- DATASPACE_CREATE_COLLECTION
- DATASPACE_DROP_COLLECTION
- DATASPACE_USE_COLLECTION
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild\stjsapi/src/main/webapp/js\security\AccessControlList.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Stores a list of operations access to which is allowed
|
Method Attributes | Method Name and Description |
---|---|
boolean |
authorize(operation)
Returns true if the specified operation is allowed by this list
|
String |
toString()
Returns the string representation of the access control list
|
Method Detail
{boolean}
authorize(operation)
Returns true if the specified operation is allowed by this list
- Parameters:
- {String} operation
- The operation to be checked. See AccessControlList for possible values.
- Returns:
- True if the specified operation is allowed and false otherwise
{String}
toString()
Returns the string representation of the access control list
- Returns:
- The string representation of the access control list