Permission Naming Guidelines
Overview
FOLIO's permission system requires consistent naming to ensure clarity, maintainability, and proper access control.
Key Naming Conventions
Permission Name Structure
Permission names follow a hierarchical, dot-separated format:
[module-prefix].[resource].[scope].[action]Components:
Component | Description | Example |
|---|---|---|
Module Prefix | Module name without |
|
Resource | The entity being accessed |
|
Scope | Single item or collection |
|
Action | The operation performed |
|
Action Verbs
Backend permissions use HTTP-like verbs:
get- retrievalpost- creation/executionput- full updatespatch- partial updatesdelete- deletionexecute- execution
Frontend permissions use user-facing verbs:
view,edit,create,delete,enabled,execute,manage
Examples
finance-storage.budgets.item.post- Create a single budgetinventory-storage.loan-types.collection.get- Retrieve loan typesui-users.view- View users in the UI
Exceptions
The settings permissions should not have action verb. Example: ui-inventory.settings.call-number-types
For broad or general permissions that encompass multiple actions or resources, use a comprehensive term followed by all. Example: funds.all in finance.funds.all indicates a permission that applies to all actions related to funds.
More Information Here
Permissions naming convention - Detailed naming conventions for individual permissions
Permission Set Guidelines - Guidelines for permission set design and composition. Older document mostly relevant for Okapi-based FOLIO.