PyPermissions
class PyPermissions(permissions)
Bases: PyPermissionSet
Interface for the permission information of a content item.
- Parameters: permissions (IPermissions)
__init__(permissions)
Creates a new PyPermissions object.
Args: : permissions: A IPermissions object.
Returns: None.
- Parameters: permissions (IPermissions)
- Return type: None
Methods
__init__ (permissions) |
Creates a new PyPermissions object. |
---|
Attributes
grantee_capabilities |
Gets or sets the grantee capabilities of the permission set. |
---|---|
parent_id |
The ID of the parent content item that is determining permissions, such as a locked project. |
property parent_id : UUID
The ID of the parent content item that is determining permissions, such as a locked project. The parent content can be one of the types in ParentContentTypeNames, and will be null if the permissions are determined by the content item directly.
property grantee_capabilities : List[PyGranteeCapability]
Gets or sets the grantee capabilities of the permission set.