# Allow user(role) to only update their items

**URL:** <https://discourse.getcockpit.com/t/allow-user-role-to-only-update-their-items/2431>\
**Category:** Feature Request\
**Created:** [July 26, 2022, 12:11pm UTC](https://discourse.getcockpit.com/t/allow-user-role-to-only-update-their-items/2431 "2022-07-26T12:11:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sephen](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@Sephen](https://discourse.getcockpit.com/u/Sephen)\
**Post date:** [July 26, 2022, 12:11pm UTC](https://discourse.getcockpit.com/t/allow-user-role-to-only-update-their-items/2431/1 "2022-07-26T12:11:21Z")

</div>

It would be nice if there’s an option to only allow users(role) to update their content/items.

So that an author can only update their post and e.g. an editor can update all the authors posts.

---

<div class="post-metadata">

**Author:** ![Frou-HOS](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/frou-hos/32/1125_2.png) [@Frou-HOS](https://discourse.getcockpit.com/u/Frou-HOS)\
**Post date:** [August 29, 2022, 1:28pm UTC](https://discourse.getcockpit.com/t/allow-user-role-to-only-update-their-items/2431/2 "2022-08-29T13:28:39Z")

</div>

Hello @Sephen have you found a solution to your problem?  
Normally I think if I’m not mistaken that it is possible to do it with the Group field.

---

<div class="post-metadata">

**Author:** ![Pcharli](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@Pcharli](https://discourse.getcockpit.com/u/Pcharli)\
**Post date:** [September 12, 2022, 12:15pm UTC](https://discourse.getcockpit.com/t/allow-user-role-to-only-update-their-items/2431/3 "2022-09-12T12:15:19Z")

</div>

Hello.  
I can’t update my contents.  
I send a POST request with data and \_id. But… Cockpit create a new content and not update the old content.

What’s the problem ?
