# Bug OP-8331 - Role "Create and edit users" can not change user name

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.2.0 |
| Observed in versions | 11.2.0 |
| Sprint | 11.2.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### **Environment**:

Your OpenProject Version: Edge / Cloud Edition

Operating System / Browser / OpenProject language: Windows / FF / English

### **Logs**

nope

### **Steps to reproduce:**

1.  Set global role &quot;Create and edit users&quot; for user A
2.  Log in as user A
3.  Navigate to administration -&gt;users and permissions and choose a user
4.  Change the user name and click on &quot;save&quot;

### **Actual Behavior**

When clicking on &quot;Save&quot; the prior value of this field returns (regardless of whether the user to be changed is an admin or not)

### **Expected Behavior**

Changing the user name works, the prior value does not persist
