Solved

Roles and Delete

Posted on 2003-11-12
2
234 Views
Last Modified: 2013-12-18
I have created some roles for my Database (Admin, Viewer.... My question is:

In a view how do I only allow user with Admin Role to delete a document ?
0
Comment
Question by:apparition
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
ksi2001 earned 40 total points
ID: 9735130
You can use QueryDocumentDelete event for a database. Put there some @formula or LotusScript code which will check for the current user role and will allow or prohibit deletion.  However this is not a real security measure, just some fool-proofing interface.
 
0
 
LVL 2

Expert Comment

by:ksi2001
ID: 9735169
Secure approach is to prohibit deletion for every users except Admin in ACL.  If you want to allow them to delete only some documents while being editors without deletion rights for others then you could use the following technique. On deletion just mark documents so they will disappear from the view. Set up  scheduled or new&modified documents agent under Admin rights to remove them from the database.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 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