It describes the level of access granted for an asset to a subject.
Following roles are supported:
edit - The subject has edit access to the asset. It includes all permissions of the comment role
as well as the ability to share the asset with other users.
comment - The subject has comment access to the asset. It includes the ability to view the asset
and add comments to it.
undefined - In some cases, a permission that cannot be expressed by edit or comment is returned as undefined.
The user has some underlying permission to the asset, but the access is not specific enough to be classified as edit or comment.
User operations may be limited.
NOTE:
This list is not exhaustive and will be updated as roles are added. Clients should expect new roles to be added in the future.
RoleEnums
It describes the level of access granted for an asset to a subject. Following roles are supported:
edit- The subject has edit access to the asset. It includes all permissions of thecommentrole as well as the ability to share the asset with other users.comment- The subject has comment access to the asset. It includes the ability to view the asset and add comments to it.undefined- In some cases, a permission that cannot be expressed byeditorcommentis returned asundefined. The user has some underlying permission to the asset, but the access is not specific enough to be classified aseditorcomment. User operations may be limited.