IRPCObjectTypesAdmin.ChangeObjectTypeItemAutomaticPermissionsForObjects

View as Markdown

Administration API / specialized admin session idempotent

Sets or clears the automatic permissions that an item (a value list item or an object) gives to the objects that refer to it.

ServiceObject type administration MFiles.IRPCObjectTypesAdmin
gRPC method/MFiles.IRPCObjectTypesAdmin/ChangeObjectTypeItemAutomaticPermissionsForObjects
HTTP (mf-http-grpc)POST /grpc/v1/change-object-type-item-automatic-permissions-for-objects
RequestChangeObjectTypeItemAutomaticPermissionsForObjectsRequest
ResponseChangeObjectTypeItemAutomaticPermissionsForObjectsResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: ChangeObjectTypeItemAutomaticPermissionsForObjectsRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
obj_idObjIDThe value list item or object: type is the value list or object type ID, item_id.internal_id the item or object ID.
obj_id.typeint32The object type ID, for example 0 for documents. In a lookup value, the value list ID (for a lookup to objects, the object type ID).
obj_id.item_idItemIDThe ID of the object within its type, in item_id.internal_id.
obj_id.item_id.internal_idint32The ID of the object or value list item.
obj_id.item_id.external_repository_idExternalRepositoryIDUsed only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault.
utf8szaaclAutomaticPermissionsThe new automatic permissions. Ignored when acl_valid is false.
utf8szaacl.permissionsNamedACLThe automatic permissions for an object for which the user selects this item.
utf8szaacl.permissions.idint32Named ACL ID.
utf8szaacl.permissions.namestringThe name of the named ACL.
utf8szaacl.permissions.typeNACLTypeThe type of the NACL.Values: NACLTYPE_NONE (0), NACLTYPE_NORMAL (1), NACLTYPE_INTERNAL (2).
utf8szaacl.permissions.acl_for_objectsAccessControlListThe predefined permissions. This defines the ACL which this named ACL encapsulates.
utf8szaacl.permissions.guidstringGUID for the NACL.
utf8szaacl.is_defaultboolTrue if these automatic permissions are not private i.e. they are not directly specified for (owned by) this item but they come from somewhere else, e.g. from the default/common automatic permissions of the object type.
utf8szaacl.use_object_permissionsboolIf true the object/item's own permissions are used as its automatic permissions.
acl_validboolFalse to remove the item's automatic permissions.
automatic_permissions_forced_activeboolTrue to make the new automatic permissions active on the referring objects, false to add them inactive. No effect when acl_valid is false.

Response: ChangeObjectTypeItemAutomaticPermissionsForObjectsResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
async_task_ids[]repeated AsyncTaskIDAsynchronous task identifiers, if any, related to the change.
async_task_ids[].idint64Task ID.
async_task_ids[].typestringTask type name.
async_task_ids[].definitionstringThe display string of the task definition.