Content
View differences
Updated by Henriette Darge over 2 years ago
### Steps to reproduce
1. Navigate to a work package
2. Click on "Share" to open the Share modal
3. From the dropdown, select a Locked User
4. Click on "Share"
### What is the buggy behavior?
The modal grows to fullscreen. This is because a non-successful response is returned. The members contract has a validation where a user must not be locked in order to become a member (and this makes sense).
### What is the expected behavior?
* Locked users should The locked user is not a selectable from the dropdown. The locked user must still be shown a disabled option in the dropdown.
### Important note
Not returning the locked user in the list
* If of available principals might lead the sharer to believe that the locked user probably doesn't exist and would try inviting him. This would lead to a users enters an email which exists very confusing situation for a locked user, an error message is shown stating that the users is locked sharing user.
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
https://github.com/opf/openproject/commit/472eee17b3353827b3fe30844b28013accf629de
**Browser**
* [x] Chrome
* [x] Firefox
* [x] Safari
* [x] Mobile Safari
* [ ] Other (please specify)
1. Navigate to a work package
2. Click on "Share" to open the Share modal
3. From the dropdown, select a Locked User
4. Click on "Share"
### What is the buggy behavior?
The modal grows to fullscreen. This is because a non-successful response is returned. The members contract has a validation where a user must not be locked in order to become a member (and this makes sense).
### What is the expected behavior?
* Locked users should
### Important note
Not returning the locked user in the
* If
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
https://github.com/opf/openproject/commit/472eee17b3353827b3fe30844b28013accf629de
**Browser**
* [x] Chrome
* [x] Firefox
* [x] Safari
* [x] Mobile Safari
* [ ] Other (please specify)