# Unable to assign roles to employees

**URL:** <https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104>\
**Category:** Ask for Help\
**Created:** [October 15, 2024, 12:27pm UTC](https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104 "2024-10-15T12:27:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bilol](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bilol/32/61455_2.png) [@Bilol](https://community.glideapps.com/u/Bilol)\
**Post date:** [October 15, 2024, 12:27pm UTC](https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104/1 "2024-10-15T12:27:04Z")

</div>

For unknown reasons, I can’t assign roles to employees  
Tried through the changes window, didn’t work  
Tried through the “Choice” component, didn’t work  
During development, everything worked, but when I opened the application on my phone and on my computer, it doesn’t work  
Works only in the developer window

---

<div class="post-metadata">

**Author:** ![Marc-Olivier](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@Marc-Olivier](https://community.glideapps.com/u/Marc-Olivier)\
**Post date:** [October 15, 2024, 12:29pm UTC](https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104/2 "2024-10-15T12:29:12Z")

</div>

Hi @Bilol  
You can only assign your own role when you have set row owner on a column.  
If you want to set another role then you have to use Glide API or make to do so.

---

<div class="post-metadata">

**Author:** ![Marc-Olivier](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@Marc-Olivier](https://community.glideapps.com/u/Marc-Olivier)\
**Post date:** [October 15, 2024, 12:34pm UTC](https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104/3 "2024-10-15T12:34:07Z")

</div>

> **[Roles | Glide Docs](https://www.glideapps.com/docs/roles)**
>
> Define roles for your users and build different experiences and permissions.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [October 15, 2024, 1:43pm UTC](https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104/4 "2024-10-15T13:43:06Z")

</div>

Roles can _only_ be assigned by a builder of the application (admin or member of the team) in the Data Editor. Roles _cannot_ be assigned via the live published app.

Glide Documentation:

> Users cannot set roles from an app. This is a security measure to keep your app safe from potential misuse by a user. If a new user signs up for a [User Profile](https://www.glideapps.com/docs/essentials/security-and-user-data/user-profiles) in your app, they won’t be assigned a specific role. Glide will leave the role field blank, and you can assign roles to new users in your user table.

---

<div class="post-metadata">

**Author:** ![don\_pablo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/don_pablo/32/75929_2.png) [@don\_pablo](https://community.glideapps.com/u/don_pablo)\
**Post date:** [October 16, 2024, 10:00pm UTC](https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104/5 "2024-10-16T22:00:09Z")

</div>

im not a Glide Expert, but did have this need for my app as well. As a workaround, I created Role Levels instead. Given as you can’t assign Roles in the Live App, i created custom actions upon signup that auto-assigns their Role Level. that works for me. might work for you.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [October 16, 2024, 10:35pm UTC](https://community.glideapps.com/t/unable-to-assign-roles-to-employees/77104/6 "2024-10-16T22:35:52Z")

</div>

The main consideration when using Role functionality is data security through row owners. If data separation and security is less of a concern, and you only use roles for filters or visibility conditions, then pseudo roles may be sufficient using a column that is not configured as a Role column in the user profile configuration.
