ObjectPermissionsForClient
Evaluated permissions for current user.
| Full name | MFiles.ObjectPermissionsForClient |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
can_user_see | bool | 1 | The object is visible for the current user (provided for symmetry). |
can_user_edit | bool | 2 | The current user can edit the object. |
can_user_delete | bool | 3 | The current user can delete the object. |
can_user_change_permissions | bool | 4 | The current user can change the object permissions. |
Used by methods
- IRPCValueLists.GetValueListItemPermissions -- Gets the permissions of one item of a plain value list.
- IRPCValueLists.GetValueListItemsWithPermissions -- Gets the items of one value list or object type, or only the changes since a known version.
- IRPCValueLists.SearchValueListItemsWithPermissions -- Searches the items of one value list or object type by item ID, name, owner, parent or deleted state.
Used in fields
EffectivePermissions.permissions-- What the user can do with the object according to its ACL.ObjectVersionData.current_user_permissions-- The pointer to object permissions for client. Null pointer, if data was not requested.ObjectVersionExWP.current_user_permissions-- If set, permissions of the object version.ObjectVersionExWPWithMetadata.current_user_permissions-- If set, permissions of the object version.RelationshipData.object_permissions-- The pointer to object permissions for client. Null pointer, if data was not requested.ValueListItemData.current_user_permissions-- What the caller may do with the item. Set only when the request hadinclude_permissions.GetValueListItemPermissionsResponse.object_permissions-- What the calling user may do with the item.GetValueListItemsWithPermissionsResponse.item_current_user_permissions-- Withinclude_permissions, what the caller may do with each item, in the order ofitems.SearchValueListItemsWithPermissionsResponse.item_current_user_permissions-- Withinclude_permissions, what the caller may do with each item, in the order ofitems; otherwise empty.