Preview As

I haven’t used the Preview As… functionality for a while but I thought the App did a Refresh when I clicked Apply.

2X_e_e935916cbe05ba8cdd26f768c007dcf92f7831d4.png

The reason I ask is that some of my table security restrictions don’t seem to be working correctly in the developer environment and I was wondering whether there’s something wrong with the Preview As… functionality.

0 14 1,069
14 REPLIES 14

@Steve_Fuller May I ask… it’s not working in what way?

Here are some screenshots…

When I use my developer email address I have full access (Email, Edit and Copy)

2X_8_850b8ee49b3dfcfdd4e2924919295715ac8b188b.png

AND the ability to ADD new

2X_2_29ca4a1f17ea0ba3e919a7c3ed4c7bd7a8cab45c.png

When I change the email address

2X_e_e935916cbe05ba8cdd26f768c007dcf92f7831d4.png

and Click Apply, the Email Edit and Copy are hidden

2X_5_5dfdda5006a5a58ce24c8a9aaf503f45612b8b1b.png

BUT the ability to ADD remains UNTIL I click Resync

Do you have any formula with that table that defines adds, updates and deletes?

S

Yes, it should be read_only. Would you please send an email with details like app and view name to support@appsheet.com. Also please give us access to your app from My Account > Settings.

I have just sent the email and set the access

Thanks

Harry2
Participant V

Hi @Steve_Fuller, this should have been fixed by now. Could you test this again?

Hi @Harry , yes all seems to be working correctly now!

Thank you for fixing it and letting me know!

paullynun
Participant V

Hi.

I am experiencing similar issues. I have set view and table security rules using USERROLE()=“Admin”. When I log with a USER using a browser I can see the limited environment (view and data accesses). Unfortunately, the preview editor does not seems to apply any restriction at all.

What could cause that?

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…

I’d call this a bug, and have tagged this post accordingly.

Any update on this from the AppSheet team? This bug appears to still exist for the USERROLE() function in the preview as.

If this remains a problem for you, I encourage you to contact support@appsheet.com.

Top Labels in this Space