A script will execute the commands even if they're disabled in the menu. If you're careful with scripting it shouldn't be a problem. And of course be sure you're the only person with full access.
I misread your post at first. It sounds like you have already used Custom Menus to disable the usual routes of manipulating records. That means that your users can only access those commands via some sort of script ... and you have control over those scripts ... so you can control access to those steps.
You can look at Security>Privilege Sets if you want to get into that level of control.
Sorry that's not much/any help.
Just removing New Record from the current menu set does not disable that I may call "New Record" from a script say attached to a button in the layout with the restricted menu set...
Let's turn this around a bit.
Why would you want to keep a script from creating a new record?
Just removing New Record from the current menu set does not disable that I may call "New Record" from a script say attached to a button in the layout with the restricted menu set...??
As Phil said, to turn the question around ... I think you wanted to affirm that disabling menu items would not affect the associated steps in your scripts. To be redundant, for all readers - answer, no - scripts/buttons work as usual.
2 of 2 people found this helpful
To all, why not also use the Filemaker security system to prevent certain record operations (e.g. new record, delete record) for all users except the admin, and then run the appropriate scripts with admin rights? Seems to be the most full proof method if the restrictions are essential.