Skip to content

Commit 32d2d0d

Browse files
author
Heathpackard
authored
Update slack.mdx
1 parent 5413e80 commit 32d2d0d

File tree

1 file changed

+7
-7
lines changed
  • content/docs/guides/(authorization)/illustrative-examples

1 file changed

+7
-7
lines changed

content/docs/guides/(authorization)/illustrative-examples/slack.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ For simplicity, we’ll scope down to five key permissions:
3535

3636
Here are our design requirements:
3737

38-
- **Workspace 1**: Only workspace admins can invite users to a workspace
39-
- **W2**: Only users who are invited to a workspace can join it
40-
- **Channel 1**: Each channel exists in exactly one workspace
41-
- **C2**: If a channel is public, only members of a channel's workspace can join that channel or view messages in that channel
42-
- **C3**: If a channel is private, only invited members of a channel's workspace can join that channel
43-
- **C4**: If a channel is private, only members of that channel can view messages in that channel
44-
- **C5**: Only channel members can send messages in a channel
38+
- **Workspace 1**: Only workspace admins can invite users to a workspace.
39+
- **W2**: Only users who are invited to a workspace can join it.
40+
- **Channel 1**: Each channel exists in exactly one workspace.
41+
- **C2**: If a channel is public, only members of a channel's workspace can join that channel or view messages in that channel.
42+
- **C3**: If a channel is private, only invited members of a channel's workspace can join that channel.
43+
- **C4**: If a channel is private, only members of that channel can view messages in that channel.
44+
- **C5**: Only channel members can send messages in a channel.
4545

4646
Since our permissions are channel specific, modeling these 5 permissions with RBAC would require creating and maintaining millions of roles. With UserClouds, we can do it with just 3 object types and 6 edge types.
4747

0 commit comments

Comments
 (0)