Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to limit access to selected document to certain users based on fields on forms?

Posted on 2004-08-30
3
186 Views
Last Modified: 2013-12-18
I have a form and on the form, there are 2 fields, AuthorizedReader(read document only) and AuthorizedAuthor(read and edit and delete document only)
AuthorizedReader is an editable readers field which use address dialog for choices.
AuthorizedAuthor is an editable authors field which use address dialong for choices.

When user A create this form, he can specify who to read and who to edit the document.
Thus, user A can key in B/ABC_Corp,C/ABC_Corp,E/ABC_Corp and select another address book to enter the group like Sales Staff in AuthorizedReader field.
In AuthorizedAuthor field, user A can key in F/ABC_Corp and select another address book to enter group like All Manager.

How do I make sure user B/ABC_Corp,C/ABC_Corp,E/ABC_Corp and users in group Sales Staff listed in AuthorizedReader field are able to read the document only and user F/ABC_Corp  and users in group All Manager in AuthorizedAuthor are able to read and edit and delete the document?

Pls advise.
Thank you.
0
Comment
Question by:kopibean
3 Comments
 
LVL 15

Expert Comment

by:Bozzie4
ID: 11929552
I don't quite understand your question.  You appear to ask the same thing over and over again !

If you want to make sure everything works as intended, create the documents, and then log on as 1 of the users (for instance, don't allow A/ABC any access,  B/ABC in Readers field and C/ABC in Authors field.  Log on as A, B and C and see that everything works fine.)

Names entered in any of these fields should be in a hierarchical format (eg. cn=name/o=org or name/org), except for groups (eg. localdomainadmins) and obviously roles (eg. [Admin])  If you enter usernames in a flat format (eg. Name), then they won't have access !

cheers,

Tom
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 25 total points
ID: 11930838
Give the users in author field author access in the db acl and similarly readers field users as readers in the db acl. This is the way you leverage their access level.


~Hemanth
0
 
LVL 31

Assisted Solution

by:qwaletee
qwaletee earned 25 total points
ID: 11931801
1) The "select another address book" sounds like a problem.  Domino only usesthe primary address book for authorization, so groups in another address book effectively don't exist for reader/author purposes

2) Aside from that, all you need is to have all the users (whether explicitly listed or part of a VALID group) listed as author, in the ACL, either individually or as group members.  That's it.  FYI, the group names listed in teh fields do NOT have to match group names in the ACL.  The group names are shortcuts for listing the individual group members, so adding a group to a readers field or ACL means it is as if all the group members are individually listed.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question