diff --git a/docs/src/content/docs/br/getting-started/auth.mdx b/docs/src/content/docs/br/getting-started/auth.mdx index b51d2d1d..3ca57597 100644 --- a/docs/src/content/docs/br/getting-started/auth.mdx +++ b/docs/src/content/docs/br/getting-started/auth.mdx @@ -12,73 +12,74 @@ coupled with custom rules. Roles and permissions are defined at two levels: ### Instance roles -{/* AUTH-INSTANCE-ROLES-LIST:START - Do not remove or modify this section */} +{/_ AUTH-INSTANCE-ROLES-LIST:START - Do not remove or modify this section _/} -| role | description | permissions | -| --------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------ | -| Dreistmerour·ez | Ur c'hontroll klok en deus war Castopod. | admin.\*, podcasts.\*, users.manage, persons.manage, pages.manage, fediverse.manage-blocks | -| Merour·ez | Merañ a ra endalc'had Castopod. | podcasts.create, podcasts.import, persons.manage, pages.manage | -| Podkaster | Implijerien·ezed kustum Castopod. | admin.access | +| role | description | permissions | +| ----------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------ | +| Super admin | Has complete control over Castopod. | admin.\*, plugins.\*, podcasts.\*, users.manage, persons.manage, pages.manage, fediverse.manage-blocks | +| Manager | Manages Castopod's content. | podcasts.create, podcasts.import, persons.manage, pages.manage | +| Podkaster | General users of Castopod. | admin.access | -{/* AUTH-INSTANCE-ROLES-LIST:END */} +{/_ AUTH-INSTANCE-ROLES-LIST:END _/} ### Instance permissions -{/* AUTH-INSTANCE-PERMISSIONS-LIST:START - Do not remove or modify this section */} +{/_ AUTH-INSTANCE-PERMISSIONS-LIST:START - Do not remove or modify this section _/} -| permission | description | -| ----------------------- | ------------------------------------------------------------------------------------------------- | -| admin.access | Gallout a ra gwelet taolenn-stur Castopod. | -| admin.settings | Gallout a ra gwelet arventennoù Castopod. | -| users.manage | Gallout a ra ober war-dro implijerien·ezed Castopod. | -| persons.manage | Gallout a ra merañ an emellerien·ezed. | -| pages.manage | Gallout a ra merañ ar pajennoù. | -| podcasts.view | Gallout a ra gwelet an holl bodkastoù. | -| podcasts.create | Gallout a ra krouiñ podkastoù nevez. | -| podcasts.import | Gallout a ra enporzhiañ podkastoù. | -| fediverse.manage-blocks | Gallout a ra mirout aktourien·ezed pe domanioù ar Fediverse ouzh kaout darempredoù gant Castopod. | +| permission | description | +| ----------------------- | ------------------------------------------------------------------ | +| admin.access | Can access the Castopod admin area. | +| admin.settings | Can access the Castopod settings. | +| plugins.manage | Auth.instance_permissions.plugins.manage | +| users.manage | Can manage Castopod users. | +| persons.manage | Can manage persons. | +| pages.manage | Can manage pages. | +| podcasts.view | Can view all podcasts. | +| podcasts.create | Can create new podcasts. | +| podcasts.import | Can import podcasts. | +| fediverse.manage-blocks | Can block fediverse actors/domains from interacting with Castopod. | -{/* AUTH-INSTANCE-PERMISSIONS-LIST:END */} +{/_ AUTH-INSTANCE-PERMISSIONS-LIST:END _/} ## 2. Per podcast roles and permissions ### Per podcast roles -{/* AUTH-PODCAST-ROLES-LIST:START - Do not remove or modify this section */} +{/_ AUTH-PODCAST-ROLES-LIST:START - Do not remove or modify this section _/} -| role | description | permissions | -| ---------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Merour·ez | Ur c'hontroll klok en deus war ar podkast #\{id\}. | \* | -| Embanner | Merañ a ra endalc'had hag embannadurioù ar podkast #\{id\}. | view, edit, manage-import, manage-persons, manage-platforms, manage-publications, manage-notifications, interact-as, episodes.view, episodes.create, episodes.edit, episodes.delete, episodes.manage-persons, episodes.manage-clips, episodes.manage-publications, episodes.manage-comments | -| Aozer·ez | Merañ a ra endalc'had ar podkast #\{id\} met ne c'hall ket embann anezho. | view, manage-persons, episodes.view, episodes.create, episodes.edit, episodes.manage-persons, episodes.manage-clips | -| Kouviad·ez | Perzhiad·ez eus ar podkast #\{id\}. | view, episodes.view | +| 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, manage-notifications, interact-as, episodes.view, episodes.create, episodes.edit, episodes.delete, episodes.manage-persons, episodes.manage-clips, episodes.manage-publications, episodes.manage-comments | +| 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 | -{/* AUTH-PODCAST-ROLES-LIST:END */} +{/_ AUTH-PODCAST-ROLES-LIST:END _/} ### Per podcast permissions -{/* AUTH-PODCAST-PERMISSIONS-LIST:START - Do not remove or modify this section */} +{/_ AUTH-PODCAST-PERMISSIONS-LIST:START - Do not remove or modify this section _/} -| permission | description | -| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| view | Gallout a ra gwelet taolenn-stur ha muzulioù heklev ar podkast #\{id\}. | -| edit | Gallout a ra kemmañ ar podkast #\{id\}. | -| delete | Gallout a ra lemel ar podkast #\{id\}. | -| manage-import | Gallout a ra sinkronekaat ar podkast enporzhiet #\{id\}. | -| manage-persons | Gallout a ra merañ koumanantoù ar podkast #\{id\}. | -| manage-subscriptions | Gallout a ra merañ koumanantoù ar podkast #\{id\}. | -| manage-contributors | Gallout a ra merañ perzhidi ha perzhiadezed ar podkast #\{id\}. | -| manage-platforms | Gallout a ra ouzhpennañ pe lemel liammoù etrezek savennoù diavaez evit ar podkast #\{id\}. | -| manage-publications | Gallout a ra embann ar podkast #\{id\}. | -| manage-notifications | Gallout a ra gwelet kemennoù ar podkast #\{id\} ha lakaat anezho evel lennet. | -| interact-as | Gallout a ra ober traoù gant identelezh ar podkast #\{id\}: ouzhpennañ ur gemennadenn d'ar re garetañ, rannañ anezhi pe respont dezhi. | -| episodes.view | Gallout a ra gwelet taolennoù-stur ha muzulioù heklev rannoù ar podkast #\{id\}. | -| episodes.create | Gallout a ra krouiñ rannoù evit podkast #\{id\}. | -| episodes.edit | Gallout a ra kemmañ rannoù ar podkast #\{id\}. | -| episodes.delete | Gallout a ra lemel rannoù ar podkast #\{id\}. | -| episodes.manage-persons | Gallout a ra merañ emellerien·ezed ar podkast #\{id\}. | -| episodes.manage-clips | Gallout a ra merañ klipoù video pe tennadoù son ar podkast #\{id\}. | -| episodes.manage-publications | Gallout a ra embann pe diembann rannoù ha kemennadennoù ar podkast #\{id\}. | -| episodes.manage-comments | Gallout a ra krouiñ/lemel evezhiadennoù evit rannoù ar podkast #\{id\}. | +| permission | description | +| ---------------------------- | -------------------------------------------------------------------------- | +| view | Can view dashboard and analytics of podcast #{id}. | +| edit | Can edit podcast #{id}. | +| delete | Can delete podcast #{id}. | +| manage-import | Can synchronize imported podcast #{id}. | +| manage-persons | Can manage subscriptions of podcast #{id}. | +| manage-subscriptions | Can manage subscriptions of podcast #{id}. | +| 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}. | +| episodes.edit | Can edit episodes of podcast #{id}. | +| episodes.delete | Can delete episodes of podcast #{id}. | +| episodes.manage-persons | Can manage episode persons of podcast #{id}. | +| episodes.manage-clips | Can manage video clips or soundbites of podcast #{id}. | +| episodes.manage-publications | Can publish/unpublish episodes and posts of podcast #{id}. | +| episodes.manage-comments | Can create/remove episode comments of podcast #{id}. | -{/* AUTH-PODCAST-PERMISSIONS-LIST:END */} +{/_ AUTH-PODCAST-PERMISSIONS-LIST:END _/}