Homepage

admin_authorization_policy_create

Last edit: Nov 01, 2026

Creates an authorization policy, a Liquid condition that guards access to the
pages it is attached to. Raises a validation error if a policy with the same
physical_file_path or name already exists

admin_authorization_policy_create(
  authorization_policy: AuthorizationPolicyInputType!
): AuthorizationPolicy

Arguments

authorization_policy (AuthorizationPolicyInputType)

Attributes of the new authorization policy

Type

AuthorizationPolicy

Authorization policy (app/authorization_policies): a Liquid check that restricts
access to the pages it is attached to. When several policies are attached, all must pass

Questions?

We are always happy to help with any questions you may have.

contact us