Controlled access section problem R5 to R6

I’m having a problem with a controlled access section that works fine in R5, but doesn’t work in R6. The code below is the formula for the section. The formula partially works by correctly giving edit rights to users with the role, but it won’t allow the user whose name is in the NameField to edit. Once again it’s worked for ages in R5, but in R6 test it doesn’t work.

@If(Status = “Incomplete”; NameField : “[Role1]”; “No Access”)

NameField is a computed when composed field that is set to @UserName

Thanks

Subject: RE: controlled access section problem R5 to R6

May be nothing, but is the “enforce a consistent access control” database property set in the R6 version?

If so, try moving the value to a computed field at the top of the form and let the access section formula reference the field. I had a similar problem that I resolved this way, but also set the controlled access section formula to computed for display, so it would refresh when the form opened, and in case the access list changed.

Subject: RE: controlled access section problem R5 to R6

I should have been more clear. This is only on one server. The problem only occurs when opened in a Notes R6 client. The db is currently sitting on a Notes R5 server.

Subject: RE: controlled access section problem R5 to R6

Is the controlled access section computed, or computed for display?

Try using the abbreviated name of the user, also.

http://www-1.ibm.com/support/docview.wss?rs=0&q1=controlled+access+section&uid=swg21086010&loc=en_US&cs=utf-8&cc=us&lang=en

Subject: RE: controlled access section problem R5 to R6

Marilyn,

Using [Abbreviate] doesn’t work either. Any other suggestions? Thanks

Subject: RE: controlled access section problem R5 to R6

Well, just retested… here’s what I did.

I have a field SECTION_ACCESS, computed for display, text, multivalue that lists the section access editors using this formula: @Trim(@Name([Abbreviate];thisuser):“[Role]”)

This is field is placed before the section, preferable near the top of the form.

The section access formula is simply: SECTION_ACCESS and is computed for display.

Now, if the ROLE person doesn’t have editor access, the section doesn’t matter. If the person was the author and has section access, then this seems to work.