hide section using role doesnt work

Posted on 2004-04-28
Last Modified: 2013-12-18
I tried to hide a section which is set to be hidden when the following is true

however even users with no role set in ACL can see the section.
Anything missing?
Question by:damoncwk
LVL 19

Expert Comment

ID: 10945686
Tyr this:

!"[Manager]" | !"Anonymous" | "$Webclient"
LVL 19

Expert Comment

ID: 10945800
in Hide when properties,

Try the above. Only persons having Manager role, can view the section.
LVL 15

Expert Comment

ID: 10946065
The formula should compute to a user, group or role.  You can't use negations here.

So if you want to hide it for managers, you must give access to everybody EXCEPT managers (let's suppose you give everybody else the role Plebs)



Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.


Author Comment

ID: 10946405
I want to hide one section from the manager and another section
from all others.

So i make it "[manager]" for the former one
while !"[manager]" for all others.

I only define a role of manager in the ACL and
nth else there.

Author Comment

ID: 10946876
What if I need to hide the section based on
a field value, lets say field1!= "Yes"?

And why can't negation be used here?
LVL 31

Accepted Solution

qwaletee earned 125 total points
ID: 10952175
Hide?  Or disable?

To hide:
    @UserRoles = "[Manager]"
    !@UserRoles = "[Manager]"

To disable, compte for display as follows:
    @If(@UserRoles = "[Manager]"; "Managers may not edit this section"; @UserName)

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sending a Secure fax is easy with eFax Corporate ( First, just open a new email message. In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now