How to limit access to selected document to certain users based on fields on forms?
Posted on 2004-08-30
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?