Works on local, but not on server

I’m having a wierd challenge here. My Controlled Section doesn’t works on the server.

it only works, when specifying one user name to the controlled section, but not if entered with Roles Name.

Is there some thing wrong that i missed?

I’m testing it as a manager access, and included in one of the group as one of the role. But as my self, i enrolled my self too as one of the role.

According to the book, the effective ACL is the one that i’ve set for my self, that was manager access and the role name, let say it named “Admin”.

When, i’m set the controlled section properties with “[Admin]”. I cann’t edit the object inside the section, but if i set it with my name, i can edit it.

Any suggestion?

TIA,

Joseph

Subject: Works on local, but not on server

Hm… last time i check. I’m not enrolled in any member of the roles.That strange…

this is how i check it:

@Prompt([ok];“”;@UserRoles);

@Prompt([ok];@If(@IsMember(“[Admin]”;@UserRoles);“Member”;“Not Member”);“”)

It result: Blank

and “Not member”

I’ve already set my self with “Admin Role”

but still not enrolled in any roles

This is my current ACL:

GroupAdmin Roles: [Admin]

Joseph/IT/wise Roles: [Admin]

any clues?

TIA,

Joseph

Subject: RE: Works on local, but not on server

Unless you have enabled a consistent ACL for the db, @UserRoles returns “” when run locally. My guess is that your access formula has a problem. Post it, as well as the formula type (Editable, etc.)

Subject: RE: Works on local, but not on server

Thank you Bruce for your kind help.

My Database is already on the server, and i already set enabled a consistent ACL for the db.

My Controlled Section formula is like this:

“[Admin]”:“[Level2]”

The Controlled Section is Computed.

My ACL is like this:

Name: Rights Roles

Group - Level2: Authors Level2

Group - Admin: Authors Admin

Joseph Santoso/IT/wise Manager Admin

Joseph Santoso is also member of the “Group - Admin”

TIA,

Joseph

Subject: RE: Works on local, but not on server

The fact that you’re in the Admin group won’t affect the results; your access is determined solely by your individual entry in the ACL, since it’s there. As you have described this, there’s no reason it shouldn’t be giving you edit access to the section. Is that what you’re saying; that you have edit access to the other fields in the document, but not to the section? What does the Notes client’s Security button say about your Roles? Do you really end up getting the [Admin] role?