Controlled Access Section ... what am I missing?

I have a db with groups (with editor access) in roles. I have a controlled access section where I want certain roles/people/groups to edit this section.

So in the section properties I have a computed formula:

ProjMgr : “[Director]” : “[Manager]” : “Notes_Developers”

(where ProjMgr is field on document, Director and Manager are roles, and Notes_Developers is a group).

If I use a signon that is in NONE of these groups/roles/fields, I can still edit the section.

What am I missing??? Isn’t this exactly what a controlled access section is for?

TIA,

Tammy

Subject: Controlled Access Section … what am I missing?

Tammy,

Is your database on a server???

Mike

Subject: A clue regarding Access Controlled section…

The controlled access sections seems to work if I have ONLY ROLES listed in the access formula…“[Director]” : “[Manager]”

but if I add in another group and/or a field from the document everyone can edit the section. Am I using the wrong format? Listing fields first, then roles, then group

ProjMgr : ConBEPrim :

“[Director]” : “[Manager]” :

“Notes_Developers”

Subject: Make sure your fields store the names in the right format

Your fields should be a names field and the values stored in “Test Name/My Co” format (the names field will then store the value as CN=Test Name/O=My Co.

Or, if not a names field or if you populate this field via an agent than make sure the field has the name in canonical format (CN= …)

Same thing for groups, use the proper name…not just the common name.

Howard

Subject: Thanks! I needed both tips to get it right …

Needed to know the group CN and the @Trim. Thanks to both Howard and Nicholas!

Subject: RE: A clue regarding Access Controlled section…

Well, my guess is one of your group or field is empty. If it is, then you are actually granting access to everyone.

Add a @Trim around your formula to insure that empty values are removed from the multiple value field. And while you are here, add a @unique to speed up the process and prevent notes from checking the same access multiple times.

So it should be:

@Unique (@Trim (ProjMgr : ConBEPrim : “[Director]” : “[Manager]” : “Notes_Developers”))

Voila!

Nicolas Abesdris

Quintessence e-solutions Inc.

Subject: (Sorry) Yes, it’s on a server and not replicated (eom)