The $keepPrivate is not a good solution for me at all, nor the QueryPaste event in views, which works on select docs on the view and not on the documents in the clipboard being pasted.
Two ways I can think of: Easy and Harder.
Easy: Set the view access of the form (parameters form) so that those people do not have access to see the form (set up a role, for instance, and exclude those not in the role, or set up a role and only include those in the role who should have access and set it appropriately here).
Harder: In the QueryOpen and QueryChangeMode events, use the ACL functions (like @UserRoles, etc. or the LS equivalents) to set the Continue parameter to False if the current user doesn't fit the profile of someone who can create/edit this type of document.
Dig Deeper on Lotus Notes Domino Access, Permissions and Authentication
Related Q&A from Todd Fuder
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.