diff --git a/README.md b/README.md index f173dcbaa60d..073e5c4923dd 100644 --- a/README.md +++ b/README.md @@ -399,6 +399,7 @@ This application is built with the following principles. # Security Updated rules for managing all types of chats (add/remove people) + 1. ### DM | | Member | :---: | :---: @@ -406,6 +407,7 @@ Updated rules for managing all types of chats (add/remove people) | **Remove** | ❌ | **Leave** | ❌ | **Can be removed** | ❌ +- **DM the only ever have 2 participants** 2. ### Workspace 1. #### Workspace @@ -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? | :---: | :---: | :---: | :---: @@ -424,6 +432,8 @@ 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 | | :---: | :---: @@ -431,6 +441,8 @@ Updated rules for managing all types of chats (add/remove people) | **Remove** | ❌ | **Leave** | ❌ | **Can be removed** | ❌ + + - **Admins can't leave or be removed from #admins** 4. #### Workspace rooms | | Creator | Member | Guest(outside of the workspace) @@ -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) | :---: | :---: | :---: | :---: @@ -448,6 +463,12 @@ 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 | :---: | :---: @@ -455,6 +476,8 @@ Updated rules for managing all types of chats (add/remove people) | **Leave** | ❌ | **Can be removed** | ❌ +- **Domain members can't leave or be removed from their domain chat** + 4. ### Reports | | Submitter | Manager | :---: | :---: | :---: @@ -462,6 +485,9 @@ Updated rules for managing all types of chats (add/remove people) | **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