• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

Using ACL lists to control access to second level navigators

I created a button on a main navigator, and use the formula below in the CLICK properties to grant access to the second navigator:


@If(@Name([CN];@UserName) !="John Doe" ;@False;@Command([OpenNavigator];"Server Info";1))

I need to add additional names to it and want to use ACL lists to do so instead of adding onto this formula.  What does the formula look like and can I apply it to the CLICK properties like the formula above?

Thanks a ton everyone!
0
Earthmother
Asked:
Earthmother
  • 4
  • 2
1 Solution
 
pratiganCommented:
The easiest thing to do is to create a role in the ACL then check the role for every group list or individual that you want to have that role capability.  The formula looks like this.
@If(@IsNotMember("[Teamleads]"; @UserRoles);
@Prompt([OK];"Authorization Failure !";"This Function is Restricted to TeamLeads Only.  You are Not Authorized for this Function.!");
@Command([OpenFrameset]; "chgmgtFrameset"))

You, of course can modify this to open navigator instead of frameset..
:)
0
 
EarthmotherAuthor Commented:
Thank you pratigan.  I am also new to Notes development.  This helped me tremendously!
:-D
0
 
EarthmotherAuthor Commented:
I would still love to hear all the suggestions and ideas I can get!
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
ArunkumarCommented:
The best suggestion is already told !

:-)
0
 
EarthmotherAuthor Commented:
Thank you pratigan - you are the best!
0
 
pratiganCommented:
Your Welcome... Thanks for the points !!
0
 
EarthmotherAuthor Commented:
This is my first time using this site.  What a God send!  I love it!  Thank you all for being so knowledgeable and helpful! I will definitely buy more points, and use this site alot!  I've already passed a link to it onto other developer friends!

Thanks again!  Put the coffee on - I'll see you all around the table.....
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.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now