# Adding user permission to the id-token

**URL:** <https://community.auth0.com/t/adding-user-permission-to-the-id-token/102853>\
**Category:** Get Help\
**Tags:** user-management, management-api, roles\
**Created:** [March 18, 2023, 9:40pm UTC](https://community.auth0.com/t/adding-user-permission-to-the-id-token/102853 "2023-03-18T21:40:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 23, 2023, 4:09pm UTC](https://community.auth0.com/t/adding-user-permission-to-the-id-token/102853/3 "2023-03-23T16:09:53Z")

</div>

Hi @stehranchi,

Welcome to the Auth0 Community!

There are quite a few posts in the forum about this:

[https://community.auth0.com/t/how-to-add-roles-and-permissions-to-the-id-token-using-actions/84506](https://community.auth0.com/t/how-to-add-roles-and-permissions-to-the-id-token-using-actions/84506)

> [@How to add user permissions to ID token](https://community.auth0.com/t/how-to-add-user-permissions-to-id-token/88714):
>
> Hey community. From our single-page application, we want to know the current user’s permission so we can control access to certain sections or buttons of our app. We’re using organizations. As you’re probably aware, permissions are assigned to roles. Users, in my understanding, can be assigned to roles within the context of organizations and can also be assigned to roles directly (outside the context of organizations). Because of this, we essentially need the union of permissions from (1) all t…

> [@Adding Scopes/Permissions to ID Token](https://community.auth0.com/t/adding-scopes-permissions-to-id-token/75705):
>
> Hi, As a followup to this topic: Is there any official documentation or reference to how User Permissions can be appended to ID Tokens? The linked topic contains another link to a code snippet generously added by @ryantomaselli: And while this snippet looks like it may be a solution, it’s definitely not something I would consider official documentation. I would expect to see a working Rule code snippet, as well as instructions on how such a Rule should be added to the Auth Pipeline. Is…

---

_[View the full topic](https://community.auth0.com/t/adding-user-permission-to-the-id-token/102853)._
