---
title: CustomDataAccessPermissionType - Shop Users API
description: Permission Enum that defines level of access to a definition or namespaces a client has.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-users/latest/enums/CustomDataAccessPermissionType
  md: https://shopify.dev/docs/api/shop-users/latest/enums/CustomDataAccessPermissionType.md
---

# Custom​Data​Access​Permission​Type

enum

Permission Enum that defines level of access to a definition or namespaces a client has.

## Valid values

* ADMIN

  * Allows a client to share the field with other clients
  * Allows a client to write or edit data stored in the field on users
  * Allows a client to read data stored in the field on users
  * Allows a client to alias its own keys

  If on a Metafield Namespace:

  * Allows a client to share (or revoke) the namespace with other clients
  * Allows a client to delete the namespace (member primitives are not deleted)
  * Allows a client access to any primitive in the namespace at the same level of access given to the namespace

* READ

  * Allows a client to read data stored in the field on users
  * Allows a client to alias its own keys

  If on a Metafield Namespace:

  * Allows a client access to any primitive in the namespace at the same level of access given to the namespace

* READ\_​WRITE

  Aliased to 'WRITE'

* WRITE

  * Allows a client to write or edit data stored in the field on users
  * Allows a client to read data stored in the field on users
  * Allows a client to alias its own keys

  If on a Metafield Namespace:

  * Allows a client to share (or revoke) primitives into the namespace.
  * Allows a client access to any primitive in the namespace at the same level of access given to the namespace

***

## Fields

* [Custom​Data​Absolute​Access​Grant​Type.grant](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataAbsoluteAccessGrantType#field-CustomDataAbsoluteAccessGrantType.fields.grant)

  OBJECT

  Defines an AccessGrant by absolute path using Global Identifier (GID) to represent access to a Custom Data Primitive.

* [Custom​Data​Access​Type.default](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataAccessType#field-CustomDataAccessType.fields.default)

  OBJECT

  Access for Shop Custom Data primitives is composed of AccessGrants and/or a default permission that applies to any client using the API.

* [Custom​Data​Relative​Access​Grant​Type.grant](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataRelativeAccessGrantType#field-CustomDataRelativeAccessGrantType.fields.grant)

  OBJECT

  Defines an AccessGrant by relative path using a key a Client has access to, to represent access to a Custom Data Primitive.

* [Custom​Data​Role​Based​Access​Grant​Type.grant](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataRoleBasedAccessGrantType#field-CustomDataRoleBasedAccessGrantType.fields.grant)

  OBJECT

  TK

***

## Map

### Fields with this enum

* [Custom​Data​Absolute​Access​Grant​Type.grant](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataAbsoluteAccessGrantType#field-CustomDataAbsoluteAccessGrantType.fields.grant)
* [Custom​Data​Access​Type.default](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataAccessType#field-CustomDataAccessType.fields.default)
* [Custom​Data​Relative​Access​Grant​Type.grant](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataRelativeAccessGrantType#field-CustomDataRelativeAccessGrantType.fields.grant)
* [Custom​Data​Role​Based​Access​Grant​Type.grant](https://shopify.dev/docs/api/shop-users/latest/objects/CustomDataRoleBasedAccessGrantType#field-CustomDataRoleBasedAccessGrantType.fields.grant)