Userrole() default values

When deploying an app to a domain what is the default Userrole() value set for anyone from the domain using the app?
I’d like to make an assumption that anyone who isn’t explicitly defined in the list of users allowed to use the app would get a value of “User” rather than “Admin” so that I can then add explicit users as Userrole(“Admin”).
Does anyone know whether Userrole() can be used this way? Or is it just for explicitly defined users in the Manage Users section of the editor?
The reason I asked is that a deployed app seems to think all domain users are Userrole(“Admin”). This is actually my first app that uses Userrole in ShowIf expressions to hide a behaviour on a row of a table.
Could it just be that as I am the author of the app that it just gives me Admin role anyway?

1 3 279
3 REPLIES 3
Top Labels in this Space