Q

How can I restrict some people to creating only certain kinds of documents?

I would like to inhibit some people (with Author & Create Document access) from creating certain kind of documents (e.g., parameters documents) within a database while retaining the ability to create others. The parameters documents must still be able to be copied, pasted and printed by other people.

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

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close