Content
View differences
Updated by Jens Ulferts over 2 years ago
### **Steps to reproduce:**
1. On the project overview page, add a widget "Calendar"
2. Have at least one Work Package that is shown in the calendar (so (so start date should be set before the current week, end date after the current week)
3. Login with a user, who does not have permissions to see Work Packages
4. Go to that project overview page
### **Actual Behavior**
* There is an error message on the whole page, saying that the view is faulty.
* The message does not reveal what exactly went wrong and it looks like the page is buggy. buggy.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/18211/content" alt=""> 
### **Expected Behavior**
* An Ideally an explaining error message would be shown within the widget like it is done for the graph widgets:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/18212/content" alt=""> 
* Another possible solution is to leave the calendar empty and do not show any error message at all. This is how most of the other widgets handle missing permissions.
1. On the project overview page, add a widget "Calendar"
2. Have at least one Work Package that is shown in the calendar (so
3. Login with a user, who does not have permissions to see Work Packages
4. Go to that project overview page
### **Actual Behavior**
* There is an error message on the whole page, saying that the view is faulty.
* The message does not reveal what exactly went wrong and it looks like the page is buggy.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/18211/content" alt="">
### **Expected Behavior**
* An
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/18212/content" alt="">
* Another possible solution is to leave the calendar empty and do not show any error message at all. This is how most of the other widgets handle missing permissions.