Creating a new user via a Form with "Role" filled via "Additional Columns"

First time reporting a bug? Refer to our Start Here post.


Team ID:

  • In the Glide dashoard URL, e.g.

App ID:

Description

  • When a user with a sufficient role to fill a form to add a new user (in this case the new user would be a client, who can then log in to the app via their phone afterwards), i have it set to add “Client” in the “role” column of the newly created user.

When I do it from within the editor, it will add “Client” as intended. However, if I do it from my phone or tablet, it will not although it will act as though it did on the device that created the new user, but not on any other device or within the editer will it show “Client” as added as Role.

Secondly, If i do it from within the editor and it does add the “Client” role it does not seem to give that user visibility of any other data from within the app that has a row owner named “Client”. No matter how long i wait for updating or publishing, no difference.

Furthermore, If i then manually re-type “Client” into the user data table, it will within a short time allow that user to have access to the appropriate rows from other tables as intended through use of the Row Owner function.

How to replicate

  • View as “Ipad” user
  • On “Ipad Entry” tab, hit “New Client” button.
  • Fill necessary data to submit.
  • Then create an invoice for that client via the “New Invoice” button in the same location.
  • Using the form container below those buttons, add an item to the “Ledger” table.
  • Switch view to that client, and switch to “My Invoices” tab
  • It will show 0 as invoice total.
  • Manually set “Role” column in “Users” table for that new client to “Client” (exact same as it should already show). Breifly wait for updates to go through.
  • Viewing as that client, on “My Invoices” tab, see that total now shows correctly as the “Role” adjustment has allowed access to the row added on the “Ledger” table.

Thanks!

After the last year of reading forum posts through research i was hoping I would get a Jeff Hager response.

That makes sense then! Does it apply to all row owners?

1 Like

It applies to assigning Roles in the user table, not Row Owners.

I think what most people do is use the Glide API or Make to set the user role. This video should help.

3 Likes

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