Preview editor "Preview as" mode ignores USERROLE()

Hi.

Is this the expected behaviour of the preview editor?

[Preview As](https://community.appsheet.com/t/preview-as/19401/12) Questions

I have checked this out and @paullynun is correct… The USEREMAIL() method works fine but the USERROLE() method does not change the development environment IF((USERROLE() = “Admin”), “ALL_CHANGES”, “READ_ONLY”) This is the code I used in the Table Are Updates Allowed field…

1 Like

This is expected behaviour as of now. I’ve created a feature request - Respect USERROLE() in App Editor’s ‘Preview App as’ feature