Content
View differences
Updated by Marc Alcobé about 2 years ago
### Steps to reproduce
1. Share a work package with a user.
2. Give the user a role in the project.
3. Click on "Manage roles"
4. Remove all role of the user for the project.
5. Click save
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* There is an error message: Roles need to be assigned.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/104334/content"></div></figure>
### What is the expected behavior?
_Describe how the application should behave like. Example:_
* 1. No error message.
* message. The change is saved with two options:
1. **User without work packages shares:** A confirmation dialog appears to confirm the removal and then the saved. The user is removed from the project completely (same as (similar to removing the user with "more" -> "Remove member").
member"
<img class="image_resized op-uc-image class="op-uc-image op-uc-image_inline" style="width:170px;" src="/api/v3/attachments/104684/content"> <img class="image_resized op-uc-image op-uc-image_inline" style="width:597px;" src="/api/v3/attachments/104743/content">
2. **User with work packages shares:** The roles are removed from this member but he is still in the list as has some work packages shared with him/her.
1. Share a work package with a user.
2. Give the user a role in the project.
3. Click on "Manage roles"
4. Remove all role of the user for the project.
5. Click save
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* There is an error message: Roles need to be assigned.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/104334/content"></div></figure>
### What is the expected behavior?
_Describe how the application should behave like. Example:_
*
*
1. **User without work packages shares:** A confirmation dialog appears to confirm the removal and then the
2. **User with work packages shares:** The roles are removed from this member but he is still in the list as has some work packages shared with him/her.