[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Roles and Delete

Posted on 2003-11-12
2
Medium Priority
?
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
ksi2001 earned 160 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

649 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