Appearance
Create a new permission
Create a permission to gate a new action or area — this is developer-facing setup, done rarely.
1. Open the new permission form
Go to Permissions and click + in the top bar.
The Add button on the Permissions list
2. Name it
A name is all that’s required — its slug fills in automatically, and this is the identifier the code checks against.
The new permission form