Page 1 of 1

Upon Close script and restricting access

PostPosted: Wed Aug 03, 2011 9:32 am
by DPmax
For one set of users I need to only let them modify existing records, they cannot make new records nor delete existing records.

However the Upon Close script ends with:
New Record/Request
Delete Record/Request [No dialog]

This causes a permissions error popup. What is the purpose of the New-Delete script steps? Is this something that I can just remove?

BTW, I'm also restricting access to some layouts, but with the Status Area hidden (the way the client wants the DB) a user can get stuck on a FileMaker generated "No Access" page.
I seem to remember someone had a cool way to have a custom page show up for any layout that was restricted (one that I could put the custom nav links on), was it on here I saw that??? Does that ring a bell?

Thanks

Re: Upon Close script and restricting access

PostPosted: Sun Aug 07, 2011 8:16 am
by John Sindelar
To tell you the truth, I don't recall what we were trying to accomplish with those two lines, so you can remove them. Though for some other scripts, like "Create Calendar Records", you'll want to set the scripts to run with Full Access as they may need to delete records.

And while I haven't heard of people creating a master redirect layout for those that can't be accessed, that is a great idea. Create an OnLayoutEnter script trigger for each layout whose access might be restricted, and have this trigger navigate to your redirect layout when Get ( LayoutAccess ) = 0.

Thanks for the suggestion!