Being able to add roles from the app and not only the editor

Solving the request I added this Thursday :slight_smile: Being able to add roles from the app without having to manually enter them in the database

Hope I don’t add to the confusion, but can’t you manually assign a role to the head HR person at each company when they join, who then has permission enter a person’s profile via an Inline list, click edit, which is only visible to a HR person and update that individual’s Role?

That’s the whole point, to be able to add it without having to click edit, just when you create the user from the app

yes, except that doesn’t work :slight_smile:

Well I dont think it works for his specific use case. But in my app, I have Users, Contributors and Admin. As Admin, via the app, I can access people’s profiles, click the edit pencil and update the text field, which houses the Role. The Text Field is only visible to Admins so a User or Contributor cannot change it themselves.

Maybe I dont have roles setup correctly? Its just a text column called “Access Level” lol.

mmm, what I’ve been referring to are the Roles that are only available with a Private Pro plan.

What you have could probably be called “pseudo-roles”. Perfectly fine for driving visibility, but cannot be used as Row Owners.

Ah yes, I don’t use Private Pro :slight_smile:

See… I added to the confusion :smiley:

And now I see: "At the moment, you cannot change somebody’s role via the app. A role can only be changed via the sheet or Data Editor. If you show the Roles column in the app somewhere, users will be able to change the value - but this will not affect the backend and you will see the value change back. "

yes, that’s right. Except (as my earlier test demonstrated) you can change somebody’s role via the app, but only if you’re using an array column for your roles - and then you can change all but the first column in the array. That’s probably a bug, but please don’t tell anyone as I’m intending to exploit it :wink: