Loading docs/src/getting-started/auth.md +7 −6 Original line number Diff line number Diff line Loading @@ -50,9 +50,9 @@ coupled with custom rules. Roles and permissions are defined at two levels: <!-- AUTH-PODCAST-ROLES-LIST:START - Do not remove or modify this section --> | role | description | permissions | | ------ | --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------ | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Admin | Has complete control of podcast #{id}. | \* | | Editor | Manages content and publications of podcast #{id}. | view, edit, manage-import, manage-persons, manage-platforms, manage-publications, interact-as, episodes.view, episodes.create, episodes.edit, episodes.delete, episodes.manage-persons, episodes.manage-clips, episodes.manage-publications, episodes.manage-comments | | Editor | Manages content and publications of podcast #{id}. | view, edit, manage-import, manage-persons, manage-platforms, manage-publications, interact-as, episodes.view, episodes.create, episodes.edit, episodes.delete, episodes.manage-persons, episodes.manage-clips, episodes.manage-publications, episodes.manage-comments, episodes.manage-notifications | | Author | Manages content of podcast #{id} but cannot publish them. | view, manage-persons, episodes.view, episodes.create, episodes.edit, episodes.manage-persons, episodes.manage-clips | | Guest | General contributor of the podcast #{id}. | view, episodes.view | Loading @@ -73,6 +73,7 @@ coupled with custom rules. Roles and permissions are defined at two levels: | manage-contributors | Can manage contributors of podcast #{id}. | | manage-platforms | Can set/remove platform links of podcast #{id}. | | manage-publications | Can publish podcast #{id}. | | manage-notifications | Can view and mark notifications as read for podcast #{id}. | | interact-as | Can interact as the podcast #{id} to favourite, share or reply to posts. | | episodes.view | Can view dashboard and analytics of podcast #{id}. | | episodes.create | Can create episodes for podcast #{id}. | Loading modules/Admin/Config/Routes.php +1 −1 Original line number Diff line number Diff line Loading @@ -579,7 +579,7 @@ $routes->group( $routes->group('notifications', static function ($routes): void { $routes->get('/', 'NotificationController::list/$1', [ 'as' => 'notification-list', 'filter' => 'permission:podcast#.view', 'filter' => 'permission:podcast#.manage-notifications', ]); $routes->get('(:num)/mark-as-read', 'NotificationController::markAsRead/$1/$2', [ 'as' => 'notification-mark-as-read', Loading modules/Auth/Config/AuthGroups.php +2 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ class AuthGroups extends ShieldAuthGroups 'manage-contributors', 'manage-platforms', 'manage-publications', 'manage-notifications', 'interact-as', 'episodes.view', 'episodes.create', Loading Loading @@ -182,6 +183,7 @@ class AuthGroups extends ShieldAuthGroups 'episodes.manage-clips', 'episodes.manage-publications', 'episodes.manage-comments', 'episodes.manage-notifications', ], 'author' => [ 'view', Loading modules/Auth/Language/en/Auth.php +1 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ return [ 'manage-contributors' => 'Can manage contributors of podcast #{id}.', 'manage-platforms' => 'Can set/remove platform links of podcast #{id}.', 'manage-publications' => 'Can publish podcast #{id}.', 'manage-notifications' => 'Can view and mark notifications as read for podcast #{id}.', 'interact-as' => 'Can interact as the podcast #{id} to favourite, share or reply to posts.', 'episodes.view' => 'Can view dashboards and analytics of podcast #{id}\'s episodes.', 'episodes.create' => 'Can create episodes for podcast #{id}.', Loading Loading
docs/src/getting-started/auth.md +7 −6 Original line number Diff line number Diff line Loading @@ -50,9 +50,9 @@ coupled with custom rules. Roles and permissions are defined at two levels: <!-- AUTH-PODCAST-ROLES-LIST:START - Do not remove or modify this section --> | role | description | permissions | | ------ | --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------ | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Admin | Has complete control of podcast #{id}. | \* | | Editor | Manages content and publications of podcast #{id}. | view, edit, manage-import, manage-persons, manage-platforms, manage-publications, interact-as, episodes.view, episodes.create, episodes.edit, episodes.delete, episodes.manage-persons, episodes.manage-clips, episodes.manage-publications, episodes.manage-comments | | Editor | Manages content and publications of podcast #{id}. | view, edit, manage-import, manage-persons, manage-platforms, manage-publications, interact-as, episodes.view, episodes.create, episodes.edit, episodes.delete, episodes.manage-persons, episodes.manage-clips, episodes.manage-publications, episodes.manage-comments, episodes.manage-notifications | | Author | Manages content of podcast #{id} but cannot publish them. | view, manage-persons, episodes.view, episodes.create, episodes.edit, episodes.manage-persons, episodes.manage-clips | | Guest | General contributor of the podcast #{id}. | view, episodes.view | Loading @@ -73,6 +73,7 @@ coupled with custom rules. Roles and permissions are defined at two levels: | manage-contributors | Can manage contributors of podcast #{id}. | | manage-platforms | Can set/remove platform links of podcast #{id}. | | manage-publications | Can publish podcast #{id}. | | manage-notifications | Can view and mark notifications as read for podcast #{id}. | | interact-as | Can interact as the podcast #{id} to favourite, share or reply to posts. | | episodes.view | Can view dashboard and analytics of podcast #{id}. | | episodes.create | Can create episodes for podcast #{id}. | Loading
modules/Admin/Config/Routes.php +1 −1 Original line number Diff line number Diff line Loading @@ -579,7 +579,7 @@ $routes->group( $routes->group('notifications', static function ($routes): void { $routes->get('/', 'NotificationController::list/$1', [ 'as' => 'notification-list', 'filter' => 'permission:podcast#.view', 'filter' => 'permission:podcast#.manage-notifications', ]); $routes->get('(:num)/mark-as-read', 'NotificationController::markAsRead/$1/$2', [ 'as' => 'notification-mark-as-read', Loading
modules/Auth/Config/AuthGroups.php +2 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ class AuthGroups extends ShieldAuthGroups 'manage-contributors', 'manage-platforms', 'manage-publications', 'manage-notifications', 'interact-as', 'episodes.view', 'episodes.create', Loading Loading @@ -182,6 +183,7 @@ class AuthGroups extends ShieldAuthGroups 'episodes.manage-clips', 'episodes.manage-publications', 'episodes.manage-comments', 'episodes.manage-notifications', ], 'author' => [ 'view', Loading
modules/Auth/Language/en/Auth.php +1 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ return [ 'manage-contributors' => 'Can manage contributors of podcast #{id}.', 'manage-platforms' => 'Can set/remove platform links of podcast #{id}.', 'manage-publications' => 'Can publish podcast #{id}.', 'manage-notifications' => 'Can view and mark notifications as read for podcast #{id}.', 'interact-as' => 'Can interact as the podcast #{id} to favourite, share or reply to posts.', 'episodes.view' => 'Can view dashboards and analytics of podcast #{id}\'s episodes.', 'episodes.create' => 'Can create episodes for podcast #{id}.', Loading