# Bug OP-18929 - User can get edit budget permissions without view budget permissions

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Costs and budgets, Administration / Roles and permissions / Project roles and permissions |
| Target versions | 17.2.0 |
| Observed in versions | 17.2.0 |
| Sprint | 17.2.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.x |
| 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 | Attila Dombi |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as an admin
    
2.  Go to Users &amp; Permissions &gt; Roles
    
3.  Create or edit a new role
    
4.  Add edit budget permissions
    
5.  Save
    

### What is the buggy behaviour?

*   User can save a role with edit budget permissions without having to add view budget permissions
    

### What is the expected behaviour?

1.  Make edit budget dependent from view budget
    

###   

###   

### Environment information

**OpenProject version**

Core build

[289c4675969e439f5b183f9f541a2372f89f4991](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommits%2F289c4675969e439f5b183f9f541a2372f89f4991)

Product version

[83768de97a9b536b5b2d7a0fe516e5442c46bf2e](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommits%2F83768de97a9b536b5b2d7a0fe516e5442c46bf2e)

Core version

OpenProject 17.2.0

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)
