locally at the server. This is most applicable to names.nsf.
If you have problems with site admins making changes to documents in the
address book, changing connection documents for example, you can slow them
down by adding a hidden field to the end of the form containing the
validation formula below. This will prevent unauthorized people from
creating such documents who would otherwise have editor rights or are in
the appropriate xxCreator role. More significantly, this also prevents making
these changes at the server where the database can be accessed locally thus
security. This does not stop the admin from reversing your design change
to enable them to modify or create the doc, but makes a great deterent.
This code also sends an Email with a doclink to the document modified to the
group NABAdmin when someone who is authorized makes a change.
SendTo := "NABAdmin";
@If (!@Name ([CN]; @UserName) = "David Habz" : "John Doe" : "Sandra Wilson";
@Failure ("Your changes have not been authorized. Please contact Global Notes
Admin team to make these changes for you." );
@Do (@MailSend (SendTo ; ""; ""; "Connection Doc " + Source + " to "
+ destination + " changed by " + @Name ([Abbreviate];@UserName); ""; "";