# Can RBAC roles be assigned automatically on register? plans to support advanced RBAC features?

**URL:** <https://community.auth0.com/t/can-rbac-roles-be-assigned-automatically-on-register-plans-to-support-advanced-rbac-features/37303>\
**Category:** Get Help\
**Tags:** rbac\
**Created:** [February 3, 2020, 6:27pm UTC](https://community.auth0.com/t/can-rbac-roles-be-assigned-automatically-on-register-plans-to-support-advanced-rbac-features/37303 "2020-02-03T18:27:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xenoterracide](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/xenoterracide/32/13241_2.png) [@xenoterracide](https://community.auth0.com/u/xenoterracide)\
**Post date:** [February 3, 2020, 6:27pm UTC](https://community.auth0.com/t/can-rbac-roles-be-assigned-automatically-on-register-plans-to-support-advanced-rbac-features/37303/1 "2020-02-03T18:27:23Z")

</div>

Can RBAC roles be assigned automatically on register? any plans to support hierarchical roles? or other features of RBAC like SSD and DSD contstraints? currently RBAC seems like simply DAC groups. can RBAC be configured via an API (where do I find this documentation)?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 3, 2020, 7:19pm UTC](https://community.auth0.com/t/can-rbac-roles-be-assigned-automatically-on-register-plans-to-support-advanced-rbac-features/37303/2 "2020-02-03T19:19:01Z")

</div>

Hello @xenoterracide,

All the RBAC stuff can be managed via the Management API:

- [Roles endpoint](https://auth0.com/docs/api/management/v2#!/Roles/get_roles),
- [Users endpoint](https://auth0.com/docs/api/management/v2#!/Users/get_user_roles)

You should be able to use these endpoints + [hooks](https://auth0.com/docs/hooks) and / or [rules](https://auth0.com/docs/rules) to assign roles on registration / first login.

The feature is pretty limited at the moment. A ‘groups’ (assign roles to groups, assigns users to groups) capability is in beta at the moment.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 4, 2020, 12:26pm UTC](https://community.auth0.com/t/can-rbac-roles-be-assigned-automatically-on-register-plans-to-support-advanced-rbac-features/37303/3 "2020-02-04T12:26:36Z")

</div>

Let us know if you have any other questions @xenoterracide!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 19, 2020, 12:26pm UTC](https://community.auth0.com/t/can-rbac-roles-be-assigned-automatically-on-register-plans-to-support-advanced-rbac-features/37303/4 "2020-02-19T12:26:36Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
