Content
View differences
Updated by Dominic Bräunlein about 2 years ago
### Steps to reproduce
1. As admin create a file storage integration with automatically managed folders enabled.
2. Enable that file storage on a project.
3. Login as a user with permissions to `view_file_links` but not `read_files` in a project.
4. Access the project.
### What is the buggy behavior?
* The link to the project folder is shown in the main menu.
### What is the expected behavior?
1. In case of having automatically managed project folders enabled on a project the link to the project folder should only show when the user has additionally to the `view_file_links` also the `read_files` permissions.
2. For projects having the file storage enabled, but no automatically managed project folders enabled, the link to the project folder (case of manually selected project folder) or file storage root (case of inactive project folder) shall be shown if the permission `view_file_links` "view file links" is enabled.
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [x] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
1. As admin create a file storage integration with automatically managed folders enabled.
2. Enable that file storage on a project.
3. Login as a user with permissions to `view_file_links` but not `read_files` in a project.
4. Access the project.
### What is the buggy behavior?
* The link to the project folder is shown in the main menu.
### What is the expected behavior?
1. In case of having automatically managed project folders enabled on a project the link to the project folder should only show when the user has additionally to the `view_file_links` also the `read_files` permissions.
2. For projects having the file storage enabled, but no automatically managed project folders enabled, the link to the project folder (case of manually selected project folder) or file storage root (case of inactive project folder) shall be shown if the permission `view_file_links`
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [x] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)