?
Solved

hide section using role doesnt work

Posted on 2004-04-28
8
Medium Priority
?
218 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 500 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

743 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