Content
View differences
Updated by Christophe Bliard 6 months ago
### Steps to reproduce
Happened with ticket: <mention class="mention" data-id="68852" data-type="work_package" data-text="#68852">#68852</mention>
1. Log in as a user with permissions to create and share work packages in a the HR project.
2. Create two a work packages package in this HR project.
3. Share **both** work packages the WP with a user users who **is **are not part of the overall project** (in this case, Dicle and Rosanna) and grant edit permissions (the type of permission does not really matter). them **edit permissions**.
4. Log in as this user Verify that these external users can access and try accessing edit the shared work packages. WP (this worked until recently).
### What is the buggy behavior?
* User Users who is are not project member receives members but were previously granted access now receive a 404 error when trying to open the shared WP.
* In the sharing settings, the WP still appears as shared with this user those users and shows they have edit permissions.
* Re-sharing the WP with the same user users does not resolve the issue but they continue to see a 404 error.
<br>
* This was working correctly in 16.5: no No changes were made to the WP’s configuration or permissions by the owner.
* If sharing only one work package from the project, sharing works
### What is the expected behavior?
1. Users who have been granted access to the WP (even if they are not project members) should be able to open and edit it as before.
2. If something has changed in how sharing works, the UI or documentation should reflect that (e.g., an error or warning indicating the users no longer have access).
###
### **Logs**
_~~Are there errors in the browser console? (~~_[_~~Click here for information on how to open your browser's console~~_](https://webmasters.stackexchange.com/a/77337)_~~) For a local installation: Are there relevant logs output by~~_ `~~_openproject logs_~~` _~~(packaged installation) (~~_[_~~click here for details~~_](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)_~~) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable~~_
### Screenshots and other files
_If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section._
### Environment information
_community,_ [_358689050ea5ccd81f72fb3d6b324f8c6457f6ad_](https://github.com/opf/openproject/commits/358689050ea5ccd81f72fb3d6b324f8c6457f6ad)
OpenProject version 16.6.1 **Browser**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
<br>
Happened with ticket: <mention class="mention" data-id="68852" data-type="work_package" data-text="#68852">#68852</mention>
1. Log in as a user with permissions to create and share work packages in a
2. Create two
3. Share **both** work packages
4. Log in as this user
### What is the buggy behavior?
* User
<br>
* If sharing only one work package from the project, sharing works
### What is the expected behavior?
1. Users who have been granted access to the WP (even if they are not project members) should be able to open and edit it as before.
2. If something has changed in how sharing works, the UI or documentation should reflect that (e.g., an error or warning indicating the users no longer have access).
###
### **Logs**
_~~Are there errors in the browser console? (~~_[_~~Click here for information on how to open your browser's console~~_](https://webmasters.stackexchange.com/a/77337)_~~) For a local installation: Are there relevant logs output by~~_ `~~_openproject logs_~~` _~~(packaged installation) (~~_[_~~click here for details~~_](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)_~~) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable~~_
### Screenshots and other files
_If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section._
###
_community,_ [_358689050ea5ccd81f72fb3d6b324f8c6457f6ad_](https://github.com/opf/openproject/commits/358689050ea5ccd81f72fb3d6b324f8c6457f6ad)
OpenProject version 16.6.1
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
<br>