Respect `USERROLE()` in App Editor's 'Preview App as' feature

The Preview App as feature in App Editor is not respecting ‘USERROLE()’ - It only respects ‘USEREMAIL()’

This is request to make the ‘Preview App as’ feature to respect USERROLE
In practice, when the editor is missing to acknowledge USERROLE() seems more like a bug than a missing feature

As an alternative to using the UserRole() feature, you could implement your own user-class system by including a User table and a slice that pulls out a user’s specific record - from that you can easily get the role:

INDEX(Current_User[User_Role], 1)

3 Likes