# Open Distro for Elasticsearch - How to add permissions?

**URL:** <https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477>\
**Category:** Elasticsearch\
**Created:** [June 3, 2020, 6:45am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477 "2020-06-03T06:45:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ion\_popa](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@ion\_popa](https://discuss.elastic.co/u/ion_popa)\
**Post date:** [June 3, 2020, 6:45am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477/1 "2020-06-03T06:45:25Z")

</div>

Hello, I'm referring to this article below to add the following permissions to a role:

> **[Permissions](https://opendistro.github.io/for-elasticsearch-docs/docs/security-access-control/permissions/)**
>
> Documentation for Open Distro for Elasticsearch, the community-driven, 100% open source distribution of Elasticsearch with advanced security, alerting, deep performance analysis, and more.

cluster:admin/script/get  
cluster:admin/script/put

Do you know how I can do that, as in which curl command can I execute ? I looked in the ES security section of the official documentation but couldn't find anything related to script permissions at cluster level.

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 3, 2020, 6:49am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477/2 "2020-06-03T06:49:47Z")

</div>

Welcome to our community! 😃

We don't support that distribution sorry to say, it's an AWS fork so you might need to ask them. Is there a reason you aren't using our distribution?

---

<div class="post-metadata">

**Author:** ![ion\_popa](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@ion\_popa](https://discuss.elastic.co/u/ion_popa)\
**Post date:** [June 3, 2020, 6:51am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477/3 "2020-06-03T06:51:21Z")

</div>

> [@warkolm](#):
>
> We don't support that distribution sorry to say, it's an AWS fork so you might need to ask them. Is there a reason you aren't using our distribution?

Thanks for your reply, it's a task I have been asked to look at and I hit a wall as I couldn't find anything here --\> [Security privileges | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-privileges.html)  
which might help me achieve it.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 3, 2020, 7:13am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477/4 "2020-06-03T07:13:16Z")

</div>

It is a completely separate plugin/distribution so you need to look at their documentation and ask that community. The Elastic security docs do not apply.

---

<div class="post-metadata">

**Author:** ![ion\_popa](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@ion\_popa](https://discuss.elastic.co/u/ion_popa)\
**Post date:** [June 4, 2020, 11:49am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477/5 "2020-06-04T11:49:56Z")

</div>

Thanks ! Just to let everyone know in case someone will search for this in the future, by granting the cluster level privilege "manage", the stocked scripts will execute successfully. I've tested it with the developer.

---

<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:** [July 2, 2020, 11:50am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477/6 "2020-07-02T11:50:10Z")

</div>

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