API / LotusScript (Back-end) Hack to Set Security via Lotusscript after Binder Create / Update

Mindwatering Incorporated

Author: Tripp W Black

Created: 12/06/2005 at 09:34 PM

 

Category:
Domino.Doc
API, Security

Issue:
Binder security adding users is quite limited. It has not really been improved via the API since I began using the Domino.Doc API in version 2.5.
You cannot expand groups and choose select group users. Nest of groups doesn't expand either.

Solution:
None.

Workaround:
This workaround will allow a developer to shoe-in other groups as long as those groups users are within the cabinet security umbrella.
It's up to the developer to make sure that the groups/users added are in the correct field (e.g . readers, authors, managers) and would be contained at or above that level in the cabinet anyway.

Code similar to this code was used in version 2.5, 3.1, 3.5, and 4. This code was written for 6.5.
Since this workaround is a hack, it should be VERY CAREFULLY testing for any implentation with all players having good understanding of any dangers, limitations, and lack of Lotus support for such a hack.

sample - DDoc User Security Hack.txt


previous page