# Missing roles/permissions after upgrade

**URL:** <https://forum.opensearch.org/t/missing-roles-permissions-after-upgrade/11685>\
**Category:** OpenSearch\
**Tags:** upgrade\
**Created:** [December 4, 2022, 11:25am UTC](https://forum.opensearch.org/t/missing-roles-permissions-after-upgrade/11685 "2022-12-04T11:25:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alpine](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@alpine](https://forum.opensearch.org/u/alpine)\
**Post date:** [December 4, 2022, 11:25am UTC](https://forum.opensearch.org/t/missing-roles-permissions-after-upgrade/11685/1 "2022-12-04T11:25:32Z")

</div>

Hi

I’ve upgraded my Opensearch from 2.3 to version 2.4 by using the tar-Archive and merging the configuration files into the new tree. Everything worked fine so far and Opensearch is running.

But now i am wondering how i can get the new roles/permissions for the security analytics plugin into my setup?! These aren’t visible/available in the OSD. Is there any manual task i have to do?

---

<div class="post-metadata">

**Author:** ![alpine](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@alpine](https://forum.opensearch.org/u/alpine)\
**Post date:** [December 4, 2022, 6:28pm UTC](https://forum.opensearch.org/t/missing-roles-permissions-after-upgrade/11685/2 "2022-12-04T18:28:46Z")

</div>

Ok, i figured it out by myself. But maybe someone else has the same question, this is how i merged the new roles:

I have created a backup of the configuration by using securityadmin.sh, then merged the new roles (by diff’ing the old and new version distribution files) into my backup configuration file and finally uploaded only the modified file to my opensearch instance.

The command options are explained here:

> **[Apply changes with the securityadmin script](https://opensearch.org/docs/latest/security-plugin/configuration/security-admin/)**
>
> Apply changes with the securityadmin script

I’ve someone has a better idea for this, i am happy to get a comment.
