Content
View differences
Updated by Jens Ulferts over 1 year ago
### Steps to reproduce
1. Login as a user that has no projects assigned to it
2. Go to the waffle icon and select Activity
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* When the Activity page is accessed an "**\[Error 403\] You are not authorized to access this page**" alert appears.
* If the alert is dismissed and the page is reloaded the error alert reappears.
* If the user is added to a project (even one devoid of work packages) the error alert does not appear. If the user is removed from the project again, the error alert appears again.
* Below is a screen capture of the error alert.
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. Show a message that states that No access error should appear as it is misleading and does not explain why there are is no visible projects for the content.
2. The user
1. may spend time looking at permission settings, etc.
3. Saying that Under the user isn't member of any project would covers there may be incorrect as a technical reason there might be public projects is an authorization error, but from the user **user perspective** the logical issue for not being able to view activities is no not an authorization issue but it is due to not being a member in. In such of any projects.
4. **OK Behavior**: show a case, the blank activity page and no error misleading authorization alert
5. **Best Behavior:** show a message that says user wouldn't need is not assigned to have a membership to have activities displayed
any projects
### 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._
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/186304/content"></div></figure>
### 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**
* [x] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] 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**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
_Please specify the browser language and the language of the OpenProject user for which the bug occurred._
1. Login as a user that has no projects assigned to it
2. Go to the waffle icon and select Activity
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* When the Activity page is accessed an "**\[Error 403\] You are not authorized to access this page**" alert appears.
* If the alert is dismissed and the page is reloaded the error alert reappears.
* If the user is added to a project (even one devoid of work packages) the error alert does not appear. If the user is removed from the project again, the error alert appears again.
* Below is a screen capture of the error alert.
_Describe how the application should behave like. Example:_
1. Show a message that states that
2. The
1.
3.
4. **OK Behavior**: show
5. **Best Behavior:** show a message that says
_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._
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/186304/content"></div></figure>
### 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**
* [x] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] 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**
* [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
_Please specify the browser language and the language of the OpenProject user for which the bug occurred._