Content
View differences
Updated by Robin Wagner almost 8 years ago
**Preconditions**
- Work package module activated.
- User is reader (not allowed to edit work packages).
- Custom action exists that updates work package and is shown to user.
**Steps to reproduce**
1. Try to edit work package (does not work since reader).
2. Click on custom action button.
**Actual behavior**
- Button looks clickable on hover (hand icon shown) and can be clicked.
- Work package is edited when custom action button is clicked.
**Expected behavior**
- Work package cannot be edited by clicking custom action button.
- Button does not look clickable (or shows hand icon on hover) when user does not have sufficient permissions.
**Screenshot**

**QA system**
- qa.openproject-edge.com
- OpenProject 8.0
- Edge
- Work package module activated.
- User is reader (not allowed to edit work packages).
- Custom action exists that updates work package and is shown to user.
**Steps to reproduce**
1. Try to edit work package (does not work since reader).
2. Click on custom action button.
**Actual behavior**
- Button looks clickable on hover (hand icon shown) and can be clicked.
- Work package is edited when custom action button is clicked.
**Expected behavior**
- Work package cannot be edited by clicking custom action button.
- Button does not look clickable (or shows hand icon on hover) when user does not have sufficient permissions.
**Screenshot**

**QA system**
- qa.openproject-edge.com
- OpenProject 8.0
- Edge