# Bug OP-15838 - User can't create a new global role

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.5.1 |
| Observed in versions | 14.5.0 |
| Sprint | 14.5.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.5.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 | Oliver Günther |
| 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.  Login as an admin

2.  Go Administration \> Users and Permissions \> Roles and permissions

3.  You need to assign "View project attributes" to the non-member permissions, as that will define the default checked permissions for a new role

4.  Click on '+Role'

5.  Enter a name, tick the box 'Global' and save

### What is the buggy behavior?

  - Error is thrown (see below screenshot)

  - Role is not created

### What is the expected behavior?

1.  No error

2.  successful role creation

### Screenshots and other files

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

### Environment information

**OpenProject version**

*v.14.5.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)
