I’m sorry to repost this problem again and again, but I still have no solution. I tried many things and read everything about this topic but I haven’t found someone with similar problem.I’m gonna explain as much as I can about this problem.
I have a form (FormA) and a view (ViewA). The view is based on the $$ViewTemplateDefault. Documents made with FormA are displayed in ViewA. I have 5 testusers all with author-access. Every user has a manager and a secretary.
Limits:
-a user can read his own document, but not modify it
-the manager of the user can read and modify it
-the secretary of the user can read it, but not modify
-users with the [ResponsbleApp] role can read and modify it
Two fields:
This two fields are computed when composed (but I also tried editable), the code beneath here is the default value of the fields. The reader field is off course reader and the author field is author.
Reader_Field:
@UserName:
@DbLookup(“”;“”:“names.nsf”;“People_DPCT”;@Name([CN];@UserName);5):
“[server]”:
“LocalDomainServers”
The dblookup gets the name of the users secretary.
Author_Field:
“[ResponsableApp]” :
@DbLookup(“”; “” : “names.nsf”; “People_DPCT”; @Name([CN];@UserName); 3)
The dblookup gets the name of the users manager.
Now, it’s a web application and every time I start it, there’s asked for a username and password. (Don’t know if this matters in the problem)
If userA creates a document, there are several users who can not see that document. But they do (allthough they can not read or edit it, but they see it in the view). Why? If that user creates his own document and goes back to the view, then the document he couldn’t see disappeared…
I also checked the document properties in lotus preview and that’s okay to. The names in the reader and author field have the CN=… .
I really don’t know what is wrong, but there has to be something. What am I missing? It can’t be that difficult to create reader and author fields that work properly.
I hope this is enough information for someone to help me.
thanks in advance
regards