# Active directory vs users roles

**URL:** <https://forums.suse.com/t/active-directory-vs-users-roles/13257>\
**Category:** SUSE Rancher Prime\
**Created:** [February 8, 2019, 7:28pm UTC](https://forums.suse.com/t/active-directory-vs-users-roles/13257 "2019-02-08T19:28:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrianovieira](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/adrianovieira/32/1933_2.png) [@adrianovieira](https://forums.suse.com/u/adrianovieira)\
**Post date:** [February 8, 2019, 7:28pm UTC](https://forums.suse.com/t/active-directory-vs-users-roles/13257/1 "2019-02-08T19:28:25Z")

</div>

Hi!

We have Rancher-2.1.6 integrated with Active Directory.

Although we enabled only the **User Base** role for new users, every new user that login gets access to create clusters.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/7/79f0189c2dab5f6c040d97942a4e194fa957dd96.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/1/1728482b8cb99095fe9f9cb2698850a74c7e81a3.png)

- the new user details!  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/4/4e843071822f915e2250e1701d4e46022edc5460.png)

How do we fix that?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [February 10, 2019, 7:25am UTC](https://forums.suse.com/t/active-directory-vs-users-roles/13257/2 "2019-02-10T07:25:26Z")

</div>

You can see and click the add cluster button != You can actually create a cluster. There is not (yet) enough information available in the API for the UI to know if actions will be allowed by RBAC or not in advance, so you see buttons that will not ultimately work. Try actually creating one.

---

<div class="post-metadata">

**Author:** ![adrianovieira](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/adrianovieira/32/1933_2.png) [@adrianovieira](https://forums.suse.com/u/adrianovieira)\
**Post date:** [February 11, 2019, 12:28pm UTC](https://forums.suse.com/t/active-directory-vs-users-roles/13257/3 "2019-02-11T12:28:10Z")

</div>

Yes! You’re right.

 ![Captura%20de%20tela%20de%202019-02-11%2010-02-38](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/a/a83a3f8b17071b834f466d232a4fa51aed35670b.png)

 ![Captura%20de%20tela%20de%202019-02-11%2010-15-10](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/4/4ac27b7cba14d76ccfe35055b97603ac0f375ccb.png)

But if is not allowed for someone to access either an action or feature, I think that resource/feature souldn’t be seen by one.

Another way would be… What if the actions which is not allowed to be used, be disabled of been clicked?

As for example… the above one and otherone below:

 ![Captura%20de%20tela%20de%202019-02-11%2010-30-38](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/2/2f8206faa473764f19c927ceb0c255a30c2c1445.png)
