# Bug OP-7219 - Error message on project overview page for users who lack permission to see Work Packages

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7219

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions | 13.4.0 |
| Observed in versions |  |
| Sprint | 13.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Steps to reproduce:**

1.  On the project overview page, add a widget &quot;Calendar&quot;
2.  Have at least one Work Package that is shown in the calendar (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.

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/18211/content" alt="">

### **Expected Behavior**

*   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="">
