Content
View differences
Updated by Marc Alcobé over 2 years ago
**As a** project administrator
**I want** to be asked whether the shares on work packages are also to be removed when revoking a project membership
**so that** I don't have a control of what is being deleted and what not to remove them individually per work package if they are to be removed
Copied from <mention class="mention" data-id="31150" data-type="work_package" data-text="#31150">#31150</mention>
> * When a user is only removed from a project (member level) the administrator will be asked if they also want to remove the user from the work packages they have shared in that project.
**Acceptance criteria**
* The Before removing a member via the project admin can trigger member administration or via the action through the more menu in the members page with the default actions Mange roles, See shared work packages, **Remove member** and **Revoke work packages shares**. This actions can change depending on which page the user administration ("Projects" tab) a modal is in \[[see mockups](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=808-21894&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* When the project admin is trying displayed to **remove a member,** multiple cases are possible for confirm the confirmation modal: removal
* The member If the user has project roles, group roles and shared work packages \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-27453&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has project roles and shared work packages \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-26901&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only project roles \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-25809&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only group roles \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-28005&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has group roles and shared work packages \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-28005&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* When not any shares in the project admin is trying to **revoke work packages shares** removed from a members, also multiple cases are possible for project, the confirmation modal:
* The member has both shared work packages individually and via modal is a group share \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=808-28683&mode=design&t=Nw3Hcl6RO9g7ditE-4)\]. simple confirm dialog.
* The member has only work packages individually \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-58351&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only shared work packages via a group share \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-59239&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* An extra case is considered when If the user performs has shares in the action removed from inside a filtered views for Work package shares. There project the actions in the menu will only be See shared work packages and **Revoke work packages shares**. And the confirmation modal triggered will be:
* The member has both shared work packages individually and via a group share \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-62498&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only work packages individually \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=808-29571&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only shared work packages via a group share \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-65170&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* Another extra case is presented when allows the member has both individual and group shared work packages and the administrator tries user to choose whether to remove the user \[[see mockups](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=859-66065&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
shares alongside the project memberships or not.
* Inside If the filtered views for Work package user has only shares (All shares, Edit, Comment and View) in the Roles column of removed from poject, the table will be removed.
modal is a simple confirm dialog.
**Notes**
* Manage roles will trigger The texts are not yet finalized. Development can start but the current implementation of edit roles. exact wording then needs to be finalized before merging.
**Visuals and Figma:**
https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=808-21894&mode=design&t=Nw3Hcl6RO9g7ditE-4 https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=373-7282&mode=design&t=23sHxMKIJk1KBwjf-4
**I want** to be asked whether the shares on work packages are also to be removed when revoking a project membership
**so that** I
Copied from <mention class="mention" data-id="31150" data-type="work_package" data-text="#31150">#31150</mention>
> * When a user is only removed from a project (member level) the administrator will be asked if they also want to remove the user from the work packages they have shared in that project.
**Acceptance criteria**
* The
* When the project admin is trying
* The member
* The member has project roles and shared work packages \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-26901&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only project roles \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-25809&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only group roles \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-28005&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has group roles and shared work packages \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=848-28005&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* When
* The member has both shared work packages individually and via
* The member has only work packages individually \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-58351&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only shared work packages via a group share \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-59239&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* An extra case is considered when
* The member has both shared work packages individually and via a group share \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-62498&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only work packages individually \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=808-29571&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* The member has only shared work packages via a group share \[[see mockup](https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=849-65170&mode=design&t=Nw3Hcl6RO9g7ditE-4)\].
* Another extra case is presented when
**Notes**
**Visuals and Figma:**
https://www.figma.com/file/lLDYzQW7evoBA4lha5PwXO/Project-members?type=design&node-id=808-21894&mode=design&t=Nw3Hcl6RO9g7ditE-4