|
|
|
# Instance-wide authorizations
|
|
|
|
|
|
|
|
## List of defined roles
|
|
|
|
|
|
|
|
| Name | Description |
|
|
|
|
| ---------- | --------------------------------------------------------------- |
|
|
|
|
| superadmin | Somebody who has access to all the castopod instance features |
|
|
|
|
|
|
|
|
## List of defined permissions
|
|
|
|
|
|
|
|
| Permission | Description |
|
|
|
|
| ---------------------------- | -------------------------------------------------------------- |
|
|
|
|
| users-create | Create a user |
|
|
|
|
| users-list | List all users |
|
|
|
|
| users-manage_authorizations | Add or remove roles/permissions to a user |
|
|
|
|
| users-manage_bans | ban / unban user |
|
|
|
|
| users-force_pass_reset | Force a user to update his password upon next login |
|
|
|
|
| users-delete | Delete a user without removing him from database |
|
|
|
|
| users-delete_permanently | Delete all occurences of a user from the database |
|
|
|
|
| podcasts-create | Create a podcast |
|
|
|
|
| podcasts-list | List all podcasts and their episodes |
|
|
|
|
| podcasts-view | View any podcast |
|
|
|
|
| podcasts-edit | Edit any podcast |
|
|
|
|
| podcasts-manage_contributors | Add / remove contributors to a podcast and edit their roles |
|
|
|
|
| podcasts-manage_publications | Publish / unpublish a podcast |
|
|
|
|
| podcasts-delete | Delete a podcast without removing it from database |
|
|
|
|
| podcasts-delete_permanently | Delete all occurrences of a podcast from the database |
|
|
|
|
| episodes-list | List all episodes of any podcast |
|
|
|
|
| episodes-create | Add a new episode to any podcast |
|
|
|
|
| episodes-edit | Edit any podcast episode |
|
|
|
|
| episodes-manage_publications | Publish / unpublish any podcast episode |
|
|
|
|
| episodes-delete | Delete any podcast episode without removing it from database |
|
|
|
|
| episodes-delete_permanently | Delete all occurrences of any podcast episode from database |
|
|
|
|
|
|
|
|
## Permissions for roles
|
|
|
|
|
|
|
|
| Permission | superadmin |
|
|
|
|
| ---------------------------- | ---------- |
|
|
|
|
| users-create | ✓ |
|
|
|
|
| users-list | ✓ |
|
|
|
|
| users-manage_authorizations | ✓ |
|
|
|
|
| users-manage_bans | ✓ |
|
|
|
|
| users-force_pass_reset | ✓ |
|
|
|
|
| users-delete | ✓ |
|
|
|
|
| users-delete_permanently | ✓ |
|
|
|
|
| podcasts-create | ✓ |
|
|
|
|
| podcasts-list | ✓ |
|
|
|
|
| podcasts-view | ✓ |
|
|
|
|
| podcasts-edit | ✓ |
|
|
|
|
| podcasts-manage_contributors | ✓ |
|
|
|
|
| podcasts-manage_publications | ✓ |
|
|
|
|
| podcasts-delete | ✓ |
|
|
|
|
| podcasts-delete_permanently | ✓ |
|
|
|
|
| episodes-list | ✓ | |