# Distinguish update and create dashboard permission in security

**URL:** <https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457>\
**Category:** Elasticsearch\
**Created:** [January 23, 2017, 9:44am UTC](https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457 "2017-01-23T09:44:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [January 23, 2017, 9:44am UTC](https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457/1 "2017-01-23T09:44:21Z")

</div>

Is it possible to distinguish create and update permission for indice priviledge?  
I have a requirement for this an I am considering to distinguish permission in dashboard for update and creating.

I understand that elasticsearch uses same POST request for create and update document so technically there is no difference for REST API between create and update. I just want to be sure if there is a way or not.

[https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html)

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [February 1, 2017, 11:53pm UTC](https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457/2 "2017-02-01T23:53:08Z")

</div>

Hi there,

Are you asking if there is a way to determine whether a particular user or role has permission to add documents to an index, or to write to documents in an index?

If so, have you taken a look at our [docs on indices privileges](https://www.elastic.co/guide/en/x-pack/current/security-privileges.html)? Please let me know if this helps, or if perhaps I'm misunderstand your question.

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [February 2, 2017, 5:43am UTC](https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457/3 "2017-02-02T05:43:52Z")

</div>

Hello @cjcenizal

Thanks for the reply.

> [@cjcenizal](#):
>
> Are you asking if there is a way to determine whether a particular user or role has permission to add documents to an index, or to write to documents in an index?

Partially correct. I was asking for if there is a way to determine whether a particular user or role has permission to add documents to an index, or **to just update documents in an index**.

Thanks.

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [February 2, 2017, 6:31pm UTC](https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457/4 "2017-02-02T18:31:53Z")

</div>

Ah, I see! In that case, I don't think that such a role exists, in which users can only update documents. The closest thing is the _index_ privilege, which allows users to index and update documents.

CJ

---

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [February 3, 2017, 1:03am UTC](https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457/5 "2017-02-03T01:03:19Z")

</div>

Ok. Thanks. That is what I thought.

---

<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:** [March 3, 2017, 1:03am UTC](https://discuss.elastic.co/t/distinguish-update-and-create-dashboard-permission-in-security/72457/6 "2017-03-03T01:03:25Z")

</div>

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