status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
287 stars 78 forks source link

[EPIC] Flows clarifying what happens when admins add/edit/delete permissions, kick and ban members and accept/reject join requests while control node offline #11649

Open benjthayer opened 1 year ago

benjthayer commented 1 year ago

When the control node is offline, the following admin performed actions are placed into a pending state until the owner node is back online.

Adding, duplicating, editing and deleting permissions

Designs: https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?type=design&node-id=35910-617973&mode=design&t=vB0RiqDZSw5MXe5x-4

New permission Permissions

Key features:

Accepting / rejecting join requests

Designs: https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?type=design&node-id=35909-605774&mode=design&t=vB0RiqDZSw5MXe5x-4

Pending PendingNC

Key features:

Kicking and banning members

Designs: https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?type=design&node-id=35909-607522&mode=design&t=vB0RiqDZSw5MXe5x-4

Members

Key features:

Relates to: https://github.com/status-im/status-desktop/issues/11573#issuecomment-1644068733

cc @John-44 @jrainville @0x-r4bbit @mprakhov @osmaczko (apologies if I missed anyone!)

Please update the epic status to QA when it is ready for testing

QA Tasks

benjthayer commented 1 year ago

We may wish to discuss, in the instance of the admin performing the kick/ban function, whether while in the pending state, they should be able to undo the ban or change from kick to ban / ban to kick while the control node is offline.

One scenario I can think of is if an admin decides to kick a member but that member then performs an even greater infraction and the admin decides to escalate the kick to a ban all while the control node is offline. Having this ability to change their mind/escalate the decision would mean they wouldn't need to go back and action the ban once the control node is back online.

cc @John-44

noeliaSD commented 1 year ago

Splitted task in smaller ones:

alexjba commented 1 year ago

Added the UI task needed to show Accept/Reject buttons only to the admin that initially Accepted/Rejected the request. It needs backend support.

CC @0x-r4bbit

alexandraB99 commented 1 year ago

blocked due to https://github.com/status-im/status-desktop/issues/11824

alexjba commented 1 year ago

Added new UI task based on Design updates:

noeliaSD commented 9 months ago

Following priorities of milestone 0.15.5 and team workload, this one is moved to the next iteration.

iurimatias commented 6 months ago

moving to next milestone due to lack of space in this one