Solved

hide section using role doesnt work

Posted on 2004-04-28
8
217 Views
Last Modified: 2013-12-18
Hi,
I tried to hide a section which is set to be hidden when the following is true
!"[Manager]"

however even users with no role set in ACL can see the section.
Anything missing?
Thanks.
0
Comment
Question by:damoncwk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 10945686
Tyr this:

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

Expert Comment

by:madheeswar
ID: 10945800
in Hide when properties,
!@IsMember(@userRoles;"[Manager]")

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

Expert Comment

by:Bozzie4
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)

"[Plebs]"

cheers,

Tom
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:damoncwk
ID: 10946405
Hi,
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.
0
 

Author Comment

by:damoncwk
ID: 10946876
Tom,
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?
thanks.
0
 
LVL 31

Accepted Solution

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

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

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 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