Solved

hide section using role doesnt work

Posted on 2004-04-28
8
215 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
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
Peculiar IBM Lotus Notes / Cisco VPN Issue 21 924
Synchronize IBM notes Internet Password with AD 9 394
VBA Lotus notes 2 199
Lotus notes VB code 4 209
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 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