WHAT YOU'LL LEARN
  • What is exported from webiny/admin/cms/model?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/admin/cms/model. Import any of the items below directly from this path in your Webiny extensions.

Components

Hooks

Components
anchor

RulesEditor
anchor

Constant — imported from webiny/admin/cms/model

Hooks
anchor

useFieldAccessControlRules
anchor

Function — imported from webiny/admin/cms/model

Hook that evaluates access control rules for the current identity. Does not require bindParentName — only identity-based permissions.

useFieldEffectiveRules
anchor

Function — imported from webiny/admin/cms/model

Composes useParentRules and useFieldRules into a single hook that returns the effective (intersected) rules.