diff --git a/docs/src/content/docs/sv/getting-started/auth.mdx b/docs/src/content/docs/sv/getting-started/auth.mdx index 6f7f225f..1838370c 100644 --- a/docs/src/content/docs/sv/getting-started/auth.mdx +++ b/docs/src/content/docs/sv/getting-started/auth.mdx @@ -12,24 +12,25 @@ 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 | -| ------------------- | --------------------------------------- | ------------------------------------------------------------------------------------------ | -| Super administratör | Har fullständig kontroll över Castopod. | admin.\*, podcasts.\*, users.manage, persons.manage, pages.manage, fediverse.manage-blocks | -| Hanterare | Hanterar Castopods innehåll. | podcasts.create, podcasts.import, persons.manage, pages.manage | -| Podcaster | Generella användare av Castopod. | admin.access | +| role | description | permissions | +| ------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------ | +| Super administratör | Har fullständig kontroll över Castopod. | admin.\*, plugins.\*, podcasts.\*, users.manage, persons.manage, pages.manage, fediverse.manage-blocks | +| Hanterare | Hanterar Castopods innehåll. | podcasts.create, podcasts.import, persons.manage, pages.manage | +| Podcaster | Generella användare av 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 | Kan komma åt Castopod admin-området. | | admin.settings | Kan komma åt Castopod-inställningarna. | +| plugins.manage | Auth.instance_permissions.plugins.manage | | users.manage | Kan hantera Castopod-användare. | | persons.manage | Kan hantera personer. | | pages.manage | Kan hantera sidor. | @@ -38,47 +39,47 @@ coupled with custom rules. Roles and permissions are defined at two levels: | podcasts.import | Kan importera podcasts. | | fediverse.manage-blocks | Kan blockera fediverse skådespelare/domäner från att interagera med 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 | | ---------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Admin | Har fullständig kontroll över podcast #\{id\}. | \* | -| Redigerare | Hanterar innehåll och publikationer i 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 | -| Författare | Hanterar innehåll i podcast #\{id\} men kan inte publicera dem. | view, manage-persons, episodes.view, episodes.create, episodes.edit, episodes.manage-persons, episodes.manage-clips | -| Gäst | Generell bidragsgivare till podcasten #\{id\}. | view, episodes.view | +| Admin | Har fullständig kontroll över podcast #{id}. | \* | +| Redigerare | Hanterar innehåll och publikationer i 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 | +| Författare | Hanterar innehåll i podcast #{id} men kan inte publicera dem. | view, manage-persons, episodes.view, episodes.create, episodes.edit, episodes.manage-persons, episodes.manage-clips | +| Gäst | Generell bidragsgivare till podcasten #{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 | Kan visa instrumentpanelen och analysen av podcast #\{id\}. | -| edit | Kan redigera podcast #\{id\}. | -| delete | Kan ta bort podcast #\{id\}. | -| manage-import | Kan synkronisera importerad podcast #\{id\}. | -| manage-persons | Kan hantera prenumerationer på podcast #\{id\}. | -| manage-subscriptions | Kan hantera prenumerationer på podcast #\{id\}. | -| manage-contributors | Kan hantera bidragsgivare för podcast #\{id\}. | -| manage-platforms | Kan sätta/ta bort plattformslänkar för podcast #\{id\}. | -| manage-publications | Kan publicera podcast #\{id\}. | -| manage-notifications | Can view and mark notifications as read for podcast #\{id\}. | -| interact-as | Kan interagera som podcasten #\{id\} för att favorita, dela eller svara på inlägg. | -| episodes.view | Kan visa instrumentpaneler och analyser av podcast #\{id\}s avsnitt. | -| episodes.create | Kan skapa avsnitt för podcast #\{id\}. | -| episodes.edit | Kan redigera avsnitt av podcast #\{id\}. | -| episodes.delete | Kan ta bort avsnitt av podcast #\{id\}. | -| episodes.manage-persons | Kan hantera avsnittpersoner i podcast #\{id\}. | -| episodes.manage-clips | Kan hantera videoklipp eller ljudklipp från podcasten #\{id\}. | -| episodes.manage-publications | Kan publicera/avpublicera avsnitt och inlägg i podcast #\{id\}. | -| episodes.manage-comments | Kan skapa/ta bort avsnitt kommentarer från podcasten #\{id\}. | +| permission | description | +| ---------------------------- | -------------------------------------------------------------------------------- | +| view | Kan visa instrumentpanelen och analysen av podcast #{id}. | +| edit | Kan redigera podcast #{id}. | +| delete | Kan ta bort podcast #{id}. | +| manage-import | Kan synkronisera importerad podcast #{id}. | +| manage-persons | Kan hantera prenumerationer på podcast #{id}. | +| manage-subscriptions | Can manage subscriptions of podcast #{id}. | +| manage-contributors | Kan hantera bidragsgivare för podcast #{id}. | +| manage-platforms | Kan sätta/ta bort plattformslänkar för podcast #{id}. | +| manage-publications | Kan publicera podcast #{id}. | +| manage-notifications | Can view and mark notifications as read for podcast #{id}. | +| interact-as | Kan interagera som podcasten #{id} för att favorita, dela eller svara på inlägg. | +| episodes.view | Kan visa instrumentpaneler och analyser av podcast #{id}s avsnitt. | +| episodes.create | Kan skapa avsnitt för podcast #{id}. | +| episodes.edit | Kan redigera avsnitt av podcast #{id}. | +| episodes.delete | Kan ta bort avsnitt av podcast #{id}. | +| episodes.manage-persons | Kan hantera avsnittpersoner i podcast #{id}. | +| episodes.manage-clips | Kan hantera videoklipp eller ljudklipp från podcasten #{id}. | +| episodes.manage-publications | Kan publicera/avpublicera avsnitt och inlägg i podcast #{id}. | +| episodes.manage-comments | Kan skapa/ta bort avsnitt kommentarer från podcasten #{id}. | -{/* AUTH-PODCAST-PERMISSIONS-LIST:END */} +{/_ AUTH-PODCAST-PERMISSIONS-LIST:END _/}