Solved

Roles and Delete

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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…
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

687 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