Hi All,
I read all 127 posts in this forum for the error message above but none helped. I have a button in a view which calls LotusScript code in a script library. This functionality only runs on the Notes client, I am not dealing with web users. This is a custom application, so no issues explicit to mail databases are applicable. I read through the Agent FAQs, but they didn’t offer me any insights, considering that my code is not in an agent.
Users get “You are not authorized to perform that operation: Sorted Doc Collection” when they get to the part of the code that removes or adds documents from/to my folder called “Sorted Doc Collection” via NotesViewEntryCollection and its RemoveAllFromFolder and PutAllInFolder methods.
I checked the security settings of the “Sorted Doc Collection” folder and its default settings are for reading to allow anyone with reader access and above and for creating docs to allow anyone with author access and above.
I checked Designer Help, thinking that maybe use of NotesViewEntryCollection and its RemoveAllFromFolder and PutAllInFolder methods requires some special security settings, such as in the server doc, but nothing is documented.
Mind you, this code works fine for me, I have Manager access to the database. I tried everything to eliminate the error for the users, and as a desperate last ditch effort, I had to explicitly add each user to the ACL of the DB and give them Manager access!!! This is a terrible Band-Aid solution but I have no idea what security tweaking is needed. The settings in the security section of the server doc seem to only imply authority to run agents, and besides, it doesn’t seem right that simply working with docs in folders requires that I add end user names to fields in the security doc.
Can anyone help?
Thanks in advance,
Ken