Documentation Kenii Catalog Reference
Roles and Capabilities
The Catalog Editor role and the permission model behind every screen and route.
Roles and Capabilities
Generated from code at version 2.13.0. Do not edit by hand; run the reference generator to refresh.
Kenii ships a dedicated staff role so catalog staff never need a WordPress administrator account.
The Catalog Editor role
- Role:
kenii_catalog_editor(label “Catalog Editor”). Registered on the site: yes. - Capability:
kenii_manage_catalog(constantKENII_CAP_MANAGE_CATALOG). Administrators also pass every check viamanage_options. - Catalog Editors see only the Kenii admin; the core WordPress dashboard and admin bar are hidden for them.
Permission model
- Admin routes (
/kenii/v1/admin/*): allowed whenkenii_can_manage_catalog()returns true, i.e. the user haskenii_manage_catalogormanage_options. - Public API routes (
/kenii/v1/api/*): reads are authorized with an API key sent asX-Kenii-API-Key; writes still require amanage_optionssession.