Class ecm.model.Permission


Extends ecm.model._ModelObject.
Represents the permission information that is used to grant access to an item.
Defined in: <ecm\model\Permission.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
ecm.model.Permission(properties)
Constructor

Field Summary

Field Attributes Field Name and Description
 
The access mask.
 
The access type.
 
The grantee object, either (@link ecm.model.User} or ecm.model.UserGroup
 
The grantee type.
 
The inheritable depth.
 
The permission source.
 
The role name.
Fields borrowed from class ecm.model._ModelObject:
categorization, id, isRecurring, name, nameFilter, pane, status, type, userId

Method Summary

Method Attributes Method Name and Description
 
Returns boolean true if the permission source includes the security proxy permission.
 
json()
Methods borrowed from class ecm.model._ModelObject:
destroy, onChange, own, refresh, toString

Constructor Detail

ecm.model.Permission(properties)

Constructor
Parameters:
properties
The properties for the model object. The properties can be any of the public fields as defined below and on ecm.model._ModelObject.

Field Detail

accessMask

The access mask.

accessType

The access type.

grantee

The grantee object, either (@link ecm.model.User} or ecm.model.UserGroup

granteeType

The grantee type. The type equals "2000" if it is a user, otherwise it is a group.

inheritableDepth

The inheritable depth.

permissionSource

The permission source.

roleName

The role name.

Method Detail

isSecurityProxyPermission()

Returns boolean true if the permission source includes the security proxy permission.

json()