Solved

Roles and Delete

Posted on 2003-11-12
2
235 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 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