Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Document roles in group settings.

Alya Abbott4084ae22daac
diff --git a/starlight_help/src/components/NavigationSteps.astro b/starlight_help/src/components/NavigationSteps.astro
index ca6d2269ae6..5991ba282f1 100644
--- a/starlight_help/src/components/NavigationSteps.astro
+++ b/starlight_help/src/components/NavigationSteps.astro
@@ -300,6 +300,10 @@ const relative_link_mapping: Record<
label: "All groups",
relative_link: "/#groups/all",
},
+ roles: {
+ label: "Roles",
+ relative_link: "/#groups/roles",
+ },
},
template: `
<ol>
diff --git a/starlight_help/src/content/docs/user-roles.mdx b/starlight_help/src/content/docs/user-roles.mdx
index edcf5a5f80e..2e283f5f9af 100644
--- a/starlight_help/src/content/docs/user-roles.mdx
+++ b/starlight_help/src/content/docs/user-roles.mdx
@@ -49,6 +49,24 @@ You can also manage permissions with [custom user groups](/help/user-groups).
<ViewUsersByRole />
+## Review and remove permissions assigned to a role
+
+You can review which permissions are assigned to a role, and remove permissions
+as needed.
+
+<Tabs>
+ <TabItem label="Desktop/Web">
+ <FlattenedSteps>
+ <NavigationSteps target="relative/group/roles" />
+
+ 1. Select a role.
+ 1. Select the **Permissions** tab on the right.
+ 1. Toggle the checkboxes next to any permissions you'd like to remove.
+ 1. Click **Save changes**.
+ </FlattenedSteps>
+ </TabItem>
+</Tabs>
+
## Change a user's role
<AdminOnly />
diff --git a/starlight_help/src/content/include/_ViewUsersByRole.mdx b/starlight_help/src/content/include/_ViewUsersByRole.mdx
index d0216606651..64b72fcbec7 100644
--- a/starlight_help/src/content/include/_ViewUsersByRole.mdx
+++ b/starlight_help/src/content/include/_ViewUsersByRole.mdx
@@ -1,8 +1,23 @@
+import {TabItem, Tabs} from "@astrojs/starlight/components";
+
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
-<FlattenedSteps>
- <NavigationSteps target="settings/users" />
+<Tabs>
+ <TabItem label="Via organization settings">
+ <FlattenedSteps>
+ <NavigationSteps target="settings/users" />
+
+ 1. Select the desired role from the dropdown above the **Users** table.
+ </FlattenedSteps>
+ </TabItem>
+
+ <TabItem label="Via group settings">
+ <FlattenedSteps>
+ <NavigationSteps target="relative/group/roles" />
- 1. Select the desired role from the dropdown above the **Users** table.
-</FlattenedSteps>
+ 1. Select a role.
+ 1. Select the **Members** tab on the right.
+ </FlattenedSteps>
+ </TabItem>
+</Tabs>