# AutomaticPermissions

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AutomaticPermissions/

A struct that describes the automatic permissions for objects specification of a value list item or an object.

- **Full name:** `MFiles.AutomaticPermissions`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-permissions"></a>`permissions` | [`NamedACL`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.NamedACL/index.md) | 1 | The automatic permissions for an object for which the user selects this item. |
| <a id="f-is_default"></a>`is_default` | `bool` | 2 | True 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. |
| <a id="f-use_object_permissions"></a>`use_object_permissions` | `bool` | 3 | If true the object/item's own permissions are used as its automatic permissions. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCObjectTypesAdmin.ChangeObjectTypeItemAutomaticPermissionsForObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ChangeObjectTypeItemAutomaticPermissionsForObjects/index.md): Sets or clears the automatic permissions that an item (a value list item or an object) gives to the objects that refer to it.

<a id="used-in-fields"></a>

## Used in fields

- [`ValueListAdmin.automatic_acl_for_objects`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ValueListAdmin/index.md#f-automatic_acl_for_objects): The default automatic permissions for items and objects.
- [`ValueListItem.automatic_permissions`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ValueListItem/index.md#f-automatic_permissions): If set, specifies the automatic permissions for an object for which the user selects this item.
- [`ChangeObjectTypeItemAutomaticPermissionsForObjectsRequest.utf8szaacl`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectTypesAdmin/ChangeObjectTypeItemAutomaticPermissionsForObjects/index.md#request): The new automatic permissions. Ignored when `acl_valid` is false.
