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
Upon Close script and restricting access
2 posts
• Page 1 of 1
Posts: 40
Joined: Wed Oct 06, 2010 6:49 pm |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
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! John Sindelar
SeedCode |
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests