Skip to content

Commit

Permalink
updated security section text
Browse files Browse the repository at this point in the history
  • Loading branch information
waterim committed Feb 6, 2024
1 parent 3d510ac commit 443ddec
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,13 +399,15 @@ This application is built with the following principles.
# Security
Updated rules for managing all types of chats (add/remove people)


1. ### DM
| | Member
| :---: | :---:
| **Invite** | ❌
| **Remove** | ❌
| **Leave** | ❌
| **Can be removed** | ❌
- **DM the only ever have 2 participants**

2. ### Workspace
1. #### Workspace
Expand All @@ -416,6 +418,12 @@ Updated rules for managing all types of chats (add/remove people)
| **Leave** | ❌ | ✅ | ❌ | ✅
| **Can be removed** | ❌ | ✅ | ✅ | ✅

- **Creator can't leave or be removed from their own workspace**
- **Admins can't leave from the workspace**
- **Admins can remove other workspace admins, as well as workspace members, and invited guests**
- **Creator can remove other workspace admins, as well as workspace members, and invited guests**
- **Members and Auditoes can't invite or remove from the workspace they were invited to**

2. #### Workspace #announce room
| | Member(Employee/User) | Admin | Auditor?
| :---: | :---: | :---: | :---:
Expand All @@ -424,13 +432,17 @@ Updated rules for managing all types of chats (add/remove people)
| **Leave** | ❌ | ❌ | ❌
| **Can be removed** ||||

- **All members can't leave or be removed from the #announce room**

3. #### Workspace #admin room
| | Admin |
| :---: | :---:
| **Invite** | ❌
| **Remove** | ❌
| **Leave** | ❌
| **Can be removed** | ❌

- **Admins can't leave or be removed from #admins**

4. #### Workspace rooms
| | Creator | Member | Guest(outside of the workspace)
Expand All @@ -440,6 +452,9 @@ Updated rules for managing all types of chats (add/remove people)
| **Leave** | ✅ | ✅ | ✅
| **Can be removed** | ✅ | ✅ | ✅

- **Everyone can be removed/can leave from the rooms(creator as well)**
- **Only guests are not able to remove from the room**

4. #### Workspace chats
| | Admin | Member(default) | Member(invited)
| :---: | :---: | :---: | :---:
Expand All @@ -448,20 +463,31 @@ Updated rules for managing all types of chats (add/remove people)
| **Leave** | ❌ | ❌ | ✅
| **Can be removed** | ❌ | ❌ | ✅

- **Admins are not able to leave/be removed from the workspace chat**
- **Default members(automatically invited) are not able to leave/be removed from the workspace chat**
- **Invited members(invited by members) are not able to invite or remove from the workspace chat**
- **Invited members(invited by members) are able to leave the workspace chat**
- **Default members and admins are able to remove invited members**

3. ### Domain chat
| | Member
| :---: | :---:
| **Remove** | ❌
| **Leave** | ❌
| **Can be removed** | ❌

- **Domain members can't leave or be removed from their domain chat**

4. ### Reports
| | Submitter | Manager
| :---: | :---: | :---:
| **Remove** | ❌ | ❌
| **Leave** | ❌ | ❌
| **Can be removed** | ❌ | ❌

- **Report submitters can't leave or be removed from their reports (eg, if they are the report.accountID)**
- **Report managers can't leave or be removed from their reports (eg, if they are the report.managerID)**

----

# Internationalization
Expand Down

0 comments on commit 443ddec

Please sign in to comment.