You cannot update or delete documents since you are not listed as an allowable author while trying to read documents

Hello all,I have a database with reader and author fields in a form whenever any user with author access and his name is listed in the readers field tries to open any document in this database he gets this error"You cannot update or delete documents since you are not listed as an allowable author to that document " this database is working for 6 years and this is the first time this error appears

Thanks

Dalia

Subject: you cannot update or delete documents since you are not listed as an allowable author while trying to read documents

http://www-10.lotus.com/ldd/nd6forum.nsf/0/f4982ba84efde6de852572250052b3eb?OpenDocument

may be this helps you. Please check.

Subject: RE: you cannot update or delete documents since you are not listed as an allowable author while trying to read documents

No this is not the case the user cannot even open the form although they have Author access to the ACL and they are listed as readers in the document

Subject: RE: you cannot update or delete documents since you are not listed as an allowable author while trying to read documents

You say they are listed in the Authors Field. Did you make sure the Authors field is still a multiple value field? And the name is spelled the same?

“Stephen Smith/IT/Comp”,

“Janet Stephen/IT/Comp”

not

"Stephen Smith/IT/Comp,

Janet Stephen/IT/Comp"

or

the name of the person is now

“Stephen M Smith/IT/Comp”

Normally when I’ve run into this problem, it’s the first case - the field is no longer a multiple value.

Subject: RE: you cannot update or delete documents since you are not listed as an allowable author while trying to read documents

So the user has access to read the document (obviously) but does not have access to edit it. Are you agreed that this is the case?

And then when they try to open the document for reading, they get an error saying they are unable to modify the document. Ordinarily, documents are not modified when people open them in read mode, and doing so is a really, really bad idea in most cases. There must be some custom code somewhere that’s doing this.

You say the behavior is different from before; evidently, something has changed. Either opening in read mode did not previously try to make a change to the document, or the users previously had access to make this change, whatever it is.

You might want to try using the LotusScript debugger so see what’s going on when the error occurs. Also look at the Queryopen event of the form (and any subforms) to see what’s going on there.

Also, it’s a long shot, but did you install any add-in tasks on the users’ workstations that might be trying to modify the documents on open? Virus checking, etc?

Are you using document locking?

Subject: It is fixed

Hi Andre ,Thank for your response , it is fixed by replacing th design of the database.

You got it very good ,and I checked for postopen codes and ofcourse I ran the debugger but the message alwayes pops up in the initialize event(weird) so it is not involved with any codes and I am the only administrator/designer in here no one has this access but me :slight_smile:

and I did not do it

any way thanks alot for you all