ACL Role not appearing

My database is on a server and has “Enforce consistent ACL” checked. I am a member of group WIP Admin. WIP Admin has roles [Admin] and [MM]. I am not a member of any other group in the ACL and not listed individually.

If I click the Groups and Roles button, it shows my heirarchy entries (i.e., *, */OMG, */ONYC/OMG), then it shows my fully qualified name (Jeffrey Schwarz/ONYC/OMG), then it shows my group with a checkmark (there are no other groups listed), then it shows the two roles listed (but they’re not checked).

In the ACL, I add a new role to test my hide-whens: [IM]. When I click the Groups and Roles button, [IM] does not appear in the list. I even completely leave the database and reopen it, but still, [IM] doesn’t appear.

If I add other roles or even remove roles, only the original two roles ([Admin] and [MM]) ever appear.

Why doesn’t [IM] appear? Why can’t I change my roles no matter what I do? I am trying to hide buttons on the form and in embedded views based on my role.

This problem persists even if I turn off “Enforce consistent ACL”.

Thanks,

-Jeff

P.S. Also, why are only some of the entries in the Groups and Roles box checked, while others aren’t?

Subject: ACL Role not appearing

First, the current-access box will not show roles with check marks next to them. If it shows the role at all, you have it. Groups are treated differently and you have it only if you have a checkmark next to it. Don’t ask me why Notes aren’t treating them the same way…

Second, roles are cached. So, once you are assigned a role in a database, it will not change unless you close the application and re-open it. Note that you don’t need to close Notes or Notes Designer; you only need to be sure that none of these 2 program have a page open in the application. Since many developer test with the developer still oopen within the application, the application has never been closed, so the access is still cached. F5 will also flush the security cache, so once you re-enter your password, it will reload your security profile.

Nicolas Abesdris

Subject: RE: ACL Role not appearing

I believe you also need to ensure that the database icon is no longer selected on the workspace if you don’t use F5 or logout – as long as the icon remains selected, the old ACL values remain in play.

Subject: RE: ACL Role not appearing

“First, the current-access box will not show roles with check marks next to them.”

Right, didn’t think about that when answering.

“Groups are treated differently and you have it only if you have a checkmark next to it.”

Nope, not really. Notes displays all groups you are member of, but the one that grants you the highest access level (which determines your effective access) will get the check mark.

Subject: RE: ACL Role not appearing

That’s really interesting, I never realized that before! Hey, 12 years in Notes, and I am still learning.

Thanks!!!

Subject: double posting - please ignore

Subject: RE: ACL Role not appearing

" … XX years in Notes, and I am still learning."

I’m sure, most of us know this feeling just too well.

However, the effective access button has been introduced in 6, so you had only 5 years to make note of how it works. :wink:

Subject: RE: ACL Role not appearing

the current-access box will not show roles with check marks next to them

I think you mean “the current-access box does not put check marks next to the roles it shows”. Your sentence sounds like if the role has a check mark next to it, then it won’t be shown (which raises the question why would they bother to put the check mark next to it).

If I understand you guys correctly, if a group or a role is shown, you have it, otherwise you don’t. The groups are checked and the roles are not and we have no idea what the check mark means.

Thanks, folks.

-Jeff

Subject: RE: ACL Role not appearing

Getting tired of repeating what the check mark means over and over …

Subject: RE: ACL Role not appearing

the check mark indicates what entry is providing the access to the db. If your name is explicitly in the ACL then the check mark will be next to your name. If you are getting acess via a group then a check mark will appear next to the group that gives you the highest access. You will never see a check mark next to a role, if it’s in the list then you have it.

Subject: RE: ACL Role not appearing

OK. I get it now. Re-reading Harkpabst’s post, that’s what he was saying, too.Thanks everyone.

-Jeff

Subject: ACL Role not appearing

It seems you have to close all of the clients and reopen them (how annoying is that?).

Subject: RE: ACL Role not appearing

By “all of the clients” you mean Notes, Admin and Designer client, I assume. While those show up like separate programs, they really are not.

The check groups and roles are those that are effectively granting you the access level you have.

Subject: RE: ACL Role not appearing

you shouldn’t have to close them all, just reauthenticate by pressing F5 then log back in, that should recalculate your access.