using-backstage-permissions
Installation
SKILL.md
Backstage Permissions Patterns
When to use this skill
- Plugin needs to hide a button, menu, or page from users without the right permission (frontend)
- Plugin's route handler needs to authorize the caller before performing an action (backend)
- Defining new permissions for a plugin
- Checking permissions per-resource ("can update this component", not "can update components in general")
Choose the right pattern
Declaring permissions
| Building... | Pattern | Reference |
|---|---|---|
| A new permission for your plugin | createPermission({ name, attributes }) in a *-common library |
references/declaring.md |