Search DominoPower's 11,323 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 SECURITY
Access list management system
By Dan Velasco

Sometimes when doing Domino development, I feel a little like Jack from Jack and the Beanstalk. There are some days where you sit around with a bag of magic beans wondering how to make them grow. And then there are some days when you just shove the beans in the ground and begin watering furiously. This article is about one of the latter types of days.

Here's the beanstalk I wanted the magic beans to grow into. I wanted a system to provide "managers" of some databases with the ability to modify the access list for a database. The challenge: these managers didn't have, and never would have, manager access to the database or permission to modify any group documents in the Domino directory. I wanted to let them add and delete people from the access list without my having to lift a finger. And, when they were done adding or deleting people from the access list, I wanted them to leave it neat and tidy (i.e. sorted alphabetically). I mean, if my cat is careful enough to leave everything orderly in the cat box after she's done, then the least I can expect from my LotusScript agent is to leave my group member lists nicely sorted as well.

I also wanted everything to work on a Domino 4.5 server or better, and be faster than you can say "Ho, ho, ho. Green Giant."

Selling the cow (giving up the old way of doing things)
The way I used to manage the access lists for databases might be a lot like the way you are doing it now. I would get a request via email from somebody who I recognized as having the authority to add a person to the access list of a group. After receiving the email, I would then have to find and open up the Domino directory, navigate to the appropriate group document, and then enter the person into the Members field of the group document, usually at the end. This was just unnecessary tedium for me. It left me with an unsorted group document, and no way to automate notification to the appropriate people that an access list has changed.

The core concept to get your mind around when reading this article is the fact that the easiest way to control access to a database and have users help you maintain those access lists is with groups. In this sample application, which I am calling simply an Access List Management System, access to the database is controlled via three groups: one for editors, one for authors, and one for readers. To maintain the access list, agents will allow specially selected users to add and delete people from each of these three groups.

Three magic beans…er, agents
On top of all of my other requirements, I wanted the Access List Management System to be easy to maintain and easy to add to existing databases. That's why I decided to use agents to dynamically generate Web pages, rather than using a combination of forms, views, and subforms. This way, not only don't I have to worry about maintaining all of these individual elements, I provide myself with a lot more flexibility that I would not have by using forms. What I ended up with were three LotusScript agents supported by a single script library. Here is a short overview of the three agents:


1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  7  ·  Next »
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   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
   Little known traps about Lotus Notes fields
Home > Lotus Technologies > Access Control (7 articles)
   Forcing immediate indexes to actually update immediately
   Enabling and disabling the single login setting in Notes 6
   Coding Domino server tasks in C: beyond Windows
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
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
DominoPower TV Episode 1: Inside a strategy session with Teamstudio
More about Domino log files
Say goodbye to the Uh-Ohs. Long live the Tens.
Why your log.nsf might not be purging properly
Latest Lotus Headlines
Recommended Maintenance - Lotus Notes Traveler
Here are the slides and other materials from our Lotusphere session
Microsoft OCS awareness in Lotus Connections and Websphere Portal?
SnTT: XPages Blank Calendar Control (Part 2), adding data
Have your Lotus Notes calendar display multiple time zones
Sample Database for Microsoft Office and Lotus Symphony Integration
Symphony 3.0 beta signals another attack on Office
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Running auto-respond rules when Outlook is closed
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login