# ACLMode

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) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

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

ACL mode enumeration.

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

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-ACLMODE_SIMPLE"></a>`ACLMODE_SIMPLE` | 0 | Simple mode (always the case in versions before 8.0). |
| <a id="v-ACLMODE_COMPONENT_BASED"></a>`ACLMODE_COMPONENT_BASED` | 1 | Automatic permissions with automatic components. |

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

## Used in fields

- [`SessionInfoServer.acl_mode`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SessionInfoServer/index.md#f-acl_mode): The ACL mode of the vault. Ignore it for a session that is not a vault session.
- [`VaultData.acl_mode`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultData/index.md#f-acl_mode): The ACL mode of the vault.
