Roles recognized properly in readers/authors fields but user names are not

Hi

I’ve got a form with a reader and author fields.

If I add myself as an author and reader (so the reader field is not blank), as expected only I can see the document.

If I put user2 in as a reader, they should be able to read it, but they can’t. It’s not in the views. If instead I make a role, add the role in as a reader and give User2 the role, then they can read it.

Similar things are happening with the authors field which leads me to believe my name is “working” only because I’m the manager, but in reality user names are not working, but roles are.

My guess is that the names in the readers/authors fields are not matching up with their effective user names.

Any ideas why???

I notice that in my ACL, and in the fields all names are in abbreviated format:

John Doe/ABC Corp.

If I enter them in the field in canoncial format, i.e

CN=John Doe/O=ABC Corp.

and press f9 to re calc the form, they get translated back into abbreviated.

All names in the ACL are also in abbreviated. If I enter them in canonical format they get changed to abbreviated. (in fact for me every ACL stores name in abbreviated format).

The names in the field are stored on disk as abbreviated.

When the form is open they are displayed abbreviated,

HOWEVER when it’s open if you check the design properties the names are in Canoncial format.

I also noticed another user working on another database and for them every name entered in an ACL appears in canonical format?!?

I’m thinking this might be the source ofthe problem – names in different formats so they don’t match up in the readers/authors fields.

Any ideas??

Any suggestions on how to ensure names are always in one format or another with every user in every acl??

TIA

Mohib

Subject: Roles recognized properly in readers/authors fields but user names are not

Turns out the problem is with the “Write public documents” and “Copy or replicate” options

Either one of these need to be activate for readers fields to work!!

For more see:

http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllThreadedweb/7f761447adf6ad2285256ea20067ef5c?OpenDocument

Subject: RE: Roles recognized properly in readers/authors fields but user names are not

This was not true in R5, and is certainly not true in R6.5.1. I’ll try it on an R6.0.3 system, since that’s what you post you’re using, tomorrow.

Subject: Roles recognized properly in readers/authors fields but user names are not

Your confusion is due to the difference in how usernames are STORED versus how they are DISPLAYED, and how you’re assuming that the display format is the storage format.

  1. Readers/Authors/Names fields (or just: Names fields) must contain names in either Common-Name-only format or fully-distinguished canonical format for those names to work. Fully-distinguished abbreviated format will NOT work.

  2. EDITABLE Names fields (as well as ACL entries) DO always STORE fully-distinguished names in canonical format and DISPLAY them in abbreviated format. So when you write, “When the form is open they are displayed abbreviated, HOWEVER when it’s open if you check the design properties the names are in Canoncial format,” you’re seeing exactly the way it’s designed to work.

  3. With COMPUTED Names fields, it’s up to the developer to ensure that canonical format is used.

  4. The only way I can imagine that a fully-distinguished abbreviated name would be STORED in an ACL is if you used LotusScript to explicitly set the name property of an aclentry incorrectly.

Subject: RE: Roles recognized properly in readers/authors fields but user names are not

Thanks for the response.

So I was on the right track thing that the form of the name has a bearing, but I think there’s a couple of bugs masking the fact from what I’m seeing.

  1. Re names in ACL.

If I just go to “File/Database/Access Control” and add a name into the acl is displayed in abbreviated form. However on some workstations I note that they display in non-abbreviated form.

Perhaps there’s a bug on the other workstation, a configuration option I’m unaware of?

  1. Re fields.

If the name has to be in the proper format for names,readers and author’s fields to work, why is it that by simply turning on “Replicate or copy documents” the readers field works and controls visibility to a document properly, regardless of the format of the name (however, although I used to store in abbreviated, i now store in canonical as per your suggestion).

Perhaps there’s a bug in 6.03 as you suggest may be the case?