# Update using role from service

**URL:** <https://community.appfarm.io/t/update-using-role-from-service/1267>\
**Category:** Ask the community\
**Created:** [June 4, 2024, 12:25pm UTC](https://community.appfarm.io/t/update-using-role-from-service/1267 "2024-06-04T12:25:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yassine.tebib](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/yassine.tebib/32/74_2.png) [@Yassine.tebib](https://community.appfarm.io/u/Yassine.tebib)\
**Post date:** [June 4, 2024, 12:25pm UTC](https://community.appfarm.io/t/update-using-role-from-service/1267/1 "2024-06-04T12:25:00Z")

</div>

Hey There

i was trying to create a service to update role for a selected user. i have no error when launching it, the full action works but nothing is updated

here is my action (simple just for test)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/c/cdafd2d1b5b56e2ab2fb99729fa31cdc94e7c284.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/e/e449a348ca83fbc77abb2f05a19cfdb59b08cdeb.png)

i’m running it as an “Admin” rôle for test ( from a button or directly from Service Devtools) , means that i have no permission restriction to update or change.

here’s what my update user account contains

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/c/cf3d0a61aac6abad6046255c212b42155878e22b.png)

thanks again for you help 😃

---

<div class="post-metadata">

**Author:** ![Erik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/erik/32/78_2.png) [@Erik](https://community.appfarm.io/u/Erik)\
**Post date:** [June 5, 2024, 7:51am UTC](https://community.appfarm.io/t/update-using-role-from-service/1267/2 "2024-06-05T07:51:54Z")

</div>

I’m encountering the same issue where no role is assigned to a user account when creating or updating a user from a service

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [June 5, 2024, 9:41am UTC](https://community.appfarm.io/t/update-using-role-from-service/1267/3 "2024-06-05T09:41:36Z")

</div>

Hi!

Yes, I am also able to reproduce this. Registering a challenge on this one, and will keep you posted (on workarounds or when this one will be patched).

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [June 6, 2024, 7:41am UTC](https://community.appfarm.io/t/update-using-role-from-service/1267/4 "2024-06-06T07:41:24Z")

</div>

Challenge on this one is prioritized. Workarounds: manually adding those roles to the user in Create, or do the same Update User action from an App.

Will keep you posted once patched or when patch is scheduled.

---

<div class="post-metadata">

**Author:** ![Erik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/erik/32/78_2.png) [@Erik](https://community.appfarm.io/u/Erik)\
**Post date:** [June 18, 2024, 1:24pm UTC](https://community.appfarm.io/t/update-using-role-from-service/1267/5 "2024-06-18T13:24:38Z")

</div>

Are there any updates on when this will be patched? 😊

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [June 18, 2024, 8:55pm UTC](https://community.appfarm.io/t/update-using-role-from-service/1267/6 "2024-06-18T20:55:23Z")

</div>

Hi!

Sorry for the delay, but it was included in the release just launched instead! So it should be all good now.
