> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/editing-application-permissions-yields-an-error-cannot-read-property-label-of-undefined.md).

# Editing application permissions yields an error "Cannot read property 'label' of undefined"

### Issue <a href="#issue" id="issue"></a>

When trying to edit the application config and provide permissions to user by going to the application -> selecting config -> edit the application attribute -> permissions -> add user. However, the user permission cannot be added and the following error message is seen: Cannot read property 'label' of undefined TypeError: Cannot read property 'label' of undefined at https\://... at Array.map () at PermissionsConfigurer\_PermissionsConfigurer.render (https\://......) at gi (https\://.....) at fi (https\://.....) at Rj (https\://.....) at Qj (https\://....) at Kj (https\://....) at yj (https\://......) The UI shows the following: "Oh dear, something has gone wrong"

### Cause <a href="#cause" id="cause"></a>

This error is related to the following issue:<https://github.com/spinnaker/spinnaker/issues/5986#issuecomment-686650114>This issue is caused by a group is set up twice with different permissions.
