Search DominoPower's 10,675 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
DOMINO WEB COMPONENTS
Managing database ACLs from a browser
By Daniel Koffler

This is the fourth installment in a series of articles designed to make the task of developing Web applications for Domino a more pleasant and efficient experience. I've already shown you how to create a pure Domino Web popup calendar to assist users in selecting dates on the Web and I've show you how to create both global and user profile forms suitable for use on the Web. Now we get serious.

Often when you are developing serious Web applications in Domino you need to provide your Web users with the ability to change database ACLs (Access Control Lists). You will need aspects of an ACL Web interface any time you want to be able to delegate management functions to users of your Web application. These are people who may not have a Notes client or Notes ID, such as a forum moderator or membership area administrator. This article will walk you through the creation of an ACL Web interface, like shown in Figure A, which can be used in any Domino database.

FIGURE A


A full featured Web based ACL management interface. Roll over picture for a larger image.

Create the ACL form
To achieve your desired result, create one form to hold and display all the ACL data, then use a series of buttons and LotusScript agents to manipulate the database ACL. First, open up the database ACL and navigate to the Advanced tab. Here set the "Maximum Internet user access" to Manager. Settings lower than this are not allowed to change the database ACL.

Create a new form named "ACL" then create a computed text field named "SaveOptions". Set the formula for this field to "0". This setting tells Domino not to save any documents with this form, we only want it to hold our interface, not create new documents. You can see an example in Figure B below.

FIGURE B


After creating and testing the ACL Form, make the first row of fields hidden on the Web. Roll over picture for a larger image.

Next, you should create a computed text field called "name" and give it the formula:

@URLDecode("Domino";@UrlQueryString("name"))

This formula will search the URL that's used to open this form, and try to find a parameter in the URL query string (the part after the "?") called "name". This would appear as something like http://mydomino.com/DP.nsf/ACL?OpenForm&;name=Daniel. When you open this form, and want to edit the ACL settings for an existing user, we'll pass that user name to this form through the URL query string. This will become clear later.


1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  Next »
Other articles you might like
Home > Lotus Technologies > Domino (69 articles)
   Centralised email encryption at the Domino server level
   Getting the Domino server time with @Now
   When the email flood inundates the Domino Server
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

SECURTRAC - MONITOR AND CONTROL YOUR DOMINO ENVIRONMENT
When it comes to your business, how do you ensure compliance with SOX, HIPAA or other industry driven regulations? Use SecurTrac to monitor and audit the life cycle of all objects in your Domino environment.
  • Database Monitor
  • Mail Monitor
  • Domino Directory Monitor
  • Notes.ini File Monitor
  • Intrusion Detection Monitor


Click here for details and a free evaluation copy.
-- Advertisement --

Good Practices... Better Practices... Teamstudio.
Implementing good practices in your Notes environment doesn't have to be complicated.

Teamstudio provides software and services for efficient Notes development and simple, secure administrator control. Our new website also provides users with a library of resources to help, including:

  • Ready-to-implement policies for good practice development and deployment in Lotus Notes
  • On-demand webinars on topics ranging from tips for better coding, to securing your applications, managing agents, and streamlining your application deployment process
  • Free utilities for download to help you more more efficiently tackle several specific tasks in Notes development
Visit our library of white papers to help you take on difficult issues in your Notes environment.

Drop by our new website and take a look!
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login