# No available screens for user

**URL:** <https://community.glideapps.com/t/no-available-screens-for-user/73051>\
**Category:** Ask for Help\
**Created:** [May 3, 2024, 8:30pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051 "2024-05-03T20:30:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![empty.yurchuk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/empty.yurchuk/32/74434_2.png) [@empty.yurchuk](https://community.glideapps.com/u/empty.yurchuk)\
**Post date:** [May 3, 2024, 8:30pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/1 "2024-05-03T20:30:02Z")

</div>

Hi

I have set visibilities for all screens depend on user role in Users Tab. But after login user can’t see any screen. Please help

---

<div class="post-metadata">

**Author:** ![raajkumars](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/raajkumars/32/74046_2.png) [@raajkumars](https://community.glideapps.com/u/raajkumars)\
**Post date:** [May 3, 2024, 8:34pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/2 "2024-05-03T20:34:28Z")

</div>

It would help if you can explain more or post screenshots of what you did so users here can identify the problem and recommend a solution. That said, I would advise debugging the issue by using the “View as” option on the editor and then inspect the current user’s role to check if it is what it should be.

---

<div class="post-metadata">

**Author:** ![empty.yurchuk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/empty.yurchuk/32/74434_2.png) [@empty.yurchuk](https://community.glideapps.com/u/empty.yurchuk)\
**Post date:** [May 3, 2024, 8:45pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/3 "2024-05-03T20:45:04Z")

</div>

In builder when I am viewing as a user I can see all needed tabs

 ![Screenshot 2024-05-03 at 23.43.18](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/1/616f456756b8032f69522f870c8c53945fbd4baf.jpeg)

But if to login via email button only this

 ![Screenshot 2024-05-03 at 23.42.43](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/5/35e713f9b9d1b6c2b381b68e6c79e496a106d0d2.png)

---

<div class="post-metadata">

**Author:** ![raajkumars](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/raajkumars/32/74046_2.png) [@raajkumars](https://community.glideapps.com/u/raajkumars)\
**Post date:** [May 3, 2024, 8:58pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/4 "2024-05-03T20:58:01Z")

</div>

Can you show at least one of the screen visibility settings? Also, are you **sure** that logged-in user’s role is correct in the table?

---

<div class="post-metadata">

**Author:** ![empty.yurchuk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/empty.yurchuk/32/74434_2.png) [@empty.yurchuk](https://community.glideapps.com/u/empty.yurchuk)\
**Post date:** [May 3, 2024, 9:10pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/5 "2024-05-03T21:10:37Z")

</div>

> [@raajkumars](#):
>
> ser’s role to check if it is what

Screen visibility

 ![Screenshot 2024-05-04 at 00.08.20](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/0/50b2d69abe06054366fa3165e2d63bc7b2eeec63.jpeg)  
User role  
 ![Screenshot 2024-05-04 at 00.08.45](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/f/6f1dec260b2619b78897a2184f21ada3dbad8f45.png)

---

<div class="post-metadata">

**Author:** ![empty.yurchuk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/empty.yurchuk/32/74434_2.png) [@empty.yurchuk](https://community.glideapps.com/u/empty.yurchuk)\
**Post date:** [May 3, 2024, 9:19pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/6 "2024-05-03T21:19:58Z")

</div>

> [@raajkumars](#):
>
> Also, are you that logged-in user’s role is correct in the table?

Also I’ve found one strange thing. Role Employer is assigned on form submission action, and if to enter it manually the screens appear for user

---

<div class="post-metadata">

**Author:** ![raajkumars](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/raajkumars/32/74046_2.png) [@raajkumars](https://community.glideapps.com/u/raajkumars)\
**Post date:** [May 3, 2024, 9:36pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/7 "2024-05-03T21:36:16Z")

</div>

Hmm, your screenshot looks different. I would expect the display to say “Show tab when Role is Employer” (btw: I am ignoring the OR condition here.)

 ![Screenshot 2024-05-03 165204](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/5/b5b4b0173adcfc3aa224b422f93a11ce9ddeb656.png)

Please ignore the additional columns in my example. But the main point is the role selection for the visibility should be based off of “User Profile \> Role” as seen in the screenshot. In my example, I am filtering the visibility to users with “Admin” role.

> Also I’ve found one strange thing. Role Employer is assigned on form submission action, and if to enter it manually the screens appear for user

**EDIT: After reading @Jeff_Hager reply below:**  
The concept of a `Role` seems to be different in the way how Glide treats it. So I would recommend assigning the same basic roles to your users manually. For example: “Admin” for administrator of app and “User” for the rest. Then a use different column in the User’s table called `Designation` (to avoid confusion with the term `Role`). You can hold the list of possible designations in a `Designations` table and have a `Designation Relation` column on the `Users` table. This can be changed in the app using the UI. I would recommend restricting this UI to users with specific `Role` such as `Admin`. Then configure the rest of the screens to use the designation to restrict visibility or actions.

**Please keep in mind that with this approach you cannot use the `Designation` for handling `Row Owners` (i.e. prevent Glide from sending the data to the frontend).**

I am using a similar approach in my app. Except in my case I use actions and permissions to control who can do what. I almost never directly use the `Role` on the UI, because things can get complicated if you want to allow/restrict certain screens/actions differently for different roles. This approach really works very well.

Sample screenshots from my app:

 ![Screenshot 2024-05-03 181636](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/b/9b25d52be40edb7266eb4b811d1d43a44b1ce427.png)  
 ![Screenshot 2024-05-03 181710](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/4/c4de5efda397ca3b8f93481b19894776431162ca.png)

Sample screenshots that shows the effect of designation change on the UI. Tested this on the phone and browser to verify that it works correctly.

 ![Screenshot 2024-05-03 182405](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/3/23697159cd5d3140a0035f9357aa1efa32e4c1ce.png)  
 ![Screenshot 2024-05-03 182418](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/c/dc6083f24afd988b6863a7262015e9698e5f4a5a.png)  
 ![Screenshot 2024-05-03 182431](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/5/d5b38248758af4a7f78ccef01315cd477f703744.png)

---

<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:** [May 3, 2024, 9:39pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/8 "2024-05-03T21:39:33Z")

</div>

Are you using true Role functionality as stated in the documentation?

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

If so, you can’t set a Role via the app for security reasons.

 ![Screenshot_20240503-163350](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/2/b28e14ac36043b72dd86db045de8676fbaf1d224.jpeg)

---

<div class="post-metadata">

**Author:** ![empty.yurchuk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/empty.yurchuk/32/74434_2.png) [@empty.yurchuk](https://community.glideapps.com/u/empty.yurchuk)\
**Post date:** [May 3, 2024, 11:15pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/9 "2024-05-03T23:15:20Z")

</div>

I’ve just created a field role and entered data

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [May 4, 2024, 1:06pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/10 "2024-05-04T13:06:12Z")

</div>

Ya…Jeff’s explanation is spot on. You have three options. Use a different column for visibility conditions, set the role column manually for every user (not scalable) or set the role column outside of Glide via Make or API call.

---

<div class="post-metadata">

**Author:** ![empty.yurchuk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/empty.yurchuk/32/74434_2.png) [@empty.yurchuk](https://community.glideapps.com/u/empty.yurchuk)\
**Post date:** [May 8, 2024, 2:52pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/11 "2024-05-08T14:52:26Z")

</div>

Thanks for advices

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [May 15, 2024, 2:52pm UTC](https://community.glideapps.com/t/no-available-screens-for-user/73051/12 "2024-05-15T14:52:35Z")

</div>

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