# User Mgmt Role

**URL:** <https://discuss.elastic.co/t/user-mgmt-role/254311>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [November 4, 2020, 5:11pm UTC](https://discuss.elastic.co/t/user-mgmt-role/254311 "2020-11-04T17:11:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![teej](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@teej](https://discuss.elastic.co/u/teej)\
**Post date:** [November 4, 2020, 5:11pm UTC](https://discuss.elastic.co/t/user-mgmt-role/254311/1 "2020-11-04T17:11:24Z")

</div>

Hi,  
Is there a way to create a user that can manage (e.g. Create, Delete) user accounts and nothing else?

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [November 5, 2020, 12:25am UTC](https://discuss.elastic.co/t/user-mgmt-role/254311/2 "2020-11-05T00:25:43Z")

</div>

Hello,

I'm not certain we can get to that high a level of role constraint, but you might want to review [Role-base access control](https://www.elastic.co/guide/en/elasticsearch/reference/current/authorization.html#roles) to see if that gets you close to something workable.

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [November 5, 2020, 11:24am UTC](https://discuss.elastic.co/t/user-mgmt-role/254311/3 "2020-11-05T11:24:25Z")

</div>

No this is not currently possible. To be more specific, you could create a role that only gives a user the permission to create or delete a user but there is no fine-grained control for the API call to create a user. That basically means that a user with that permission can create a new user who is superuser and has the permission to do everything.

---

<div class="post-metadata">

**Author:** ![teej](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@teej](https://discuss.elastic.co/u/teej)\
**Post date:** [November 6, 2020, 4:43pm UTC](https://discuss.elastic.co/t/user-mgmt-role/254311/4 "2020-11-06T16:43:45Z")

</div>

Sounds like he can simply make himself a superuser account. Dangerous. So essentially for now not a good idea.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 4, 2020, 4:43pm UTC](https://discuss.elastic.co/t/user-mgmt-role/254311/5 "2020-12-04T16:43:46Z")

</div>

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