Hot Topic (More than 10 Replies) user restrictions (Read 1761 times)
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
user restrictions
Mar 5th, 2004 at 11:33pm
Print Post Print Post  
is there a method for not allowing a user to delete a record? I see that the Data Entry User Level cannot mass delete, but he/she can still perform individual record deletes

TIA,
  
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: user restrictions
Reply #1 - Mar 6th, 2004 at 12:47am
Print Post Print Post  
It seems like Data Entry level group can also delete individual record. Definitely not good news. In Q&A, there was a setting that you can stop certain people from deleting Individual records. If capability is not there in Sesame at the present time, I would definitely likely to see that it is available. You can never have your data at risk with disgruntled employee!! If your whole file is deleted, you know immediately that it not there and you can replace by restoreing it but how about if someone keeps on erasing individual records on regular basis, you are not likely to detect until a big chunk is gone. Hopefully, there is such capability to block individual delete exists in Sesame and I am missing something.   Roll Eyes
« Last Edit: Mar 6th, 2004 at 12:06pm by Bharat_Naik »  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: user restrictions
Reply #2 - Mar 7th, 2004 at 1:24pm
Print Post Print Post  
By setting up a group that has "read only" permission on the forms in question, and placing any such users in that group, you can prevent them from deleting (or malaciously editing) records.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: user restrictions
Reply #3 - Mar 7th, 2004 at 3:34pm
Print Post Print Post  
Mark,
The problem is, the person would be entering data, so he/she cannot have just read only access. Only thing we want to see that person is not able to delete the record, that we could do in Q&A. Please look into it to see if this could be accomplished somehow in Sesame.  
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: user restrictions
Reply #4 - Mar 7th, 2004 at 5:02pm
Print Post Print Post  
So we are not talking about someone with malicious intent (as we were before)?

If someone is intending to hurt the data, I would rather let them delete a record than edit it. As you said, you are far more likely to note the deletion - than a simple edit of a field which can be far more subtle and damaging.

If we talking about a someone simply accidentally deleting a record, use SBasic to keep them out of Search/Update. That way they can add data, but cannot damage existing data. And they can still delete records they have just entered if they need to, should they make a mistake and need to start over.

Or if they also need read access to exiting data, set the form mode to read only in SBasic for Search/Update, or even set things field by field - if you trust them to edit some fields and not others.

But in general, if I don't trust someone to delete, I certainly wouldn't trust them to edit.

BTW: as a side note - deleted records are not actually gone until the application is reopened. Do you suppose there would be some value in a utility that could "undelete" them?
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: user restrictions
Reply #5 - Mar 7th, 2004 at 5:47pm
Print Post Print Post  
Its not just about malicious intentions, often it is simple stupidity. I have had users thinking they were doing the correct thing by purging records they thought were no longer valuable. Also unfortunately in an environment that has employee turnover  it seems that no matter how much training you give some people you used to get some one that used F3 instead of F7 and never read the warnings. The stories can go on forever but the reality at least in my little world has been the control of the deletion feature is a safer evil then bad data being entered. If Sesame does not end up with a simple feature to do this I am sure with a little creativity one of us will find a method to protect against this using the Sbasic tools we already have.

In our existing QAWIN file very few have del privileges, any user that has a record that needs deleting puts a specific code in a field (using a John Dow feature with DTFWIN it writes the user Id, patient id, date, and other pertinent data to a log file) upon exiting the field that updates a field with user id and asks for the reason. A manager reads these records daily determines the appropriateness of the deletion. Finally a report is generated before deleting that is saved and then the records are deleted.

The log file that was created is imported into another database that runs reports showing different data on the deleted records. Who deleted, why deleted, were deleted etc. When you look at historical data in this manner, very interesting patterns are found.

Well at least that is my opinion.  Wink
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: user restrictions
Reply #6 - Mar 7th, 2004 at 6:39pm
Print Post Print Post  
Rather than debate intentions, why not provide the feature that is requested and let the developers decide how to use it.? 

By adding individual record deletion you provide us with 4 options vs. two.  That only privides equivalent capability to Q&A, it is not even a new feature.

The additional new feature to Undelete a record would also be very welcome.  Some people may choose not to used that, but at least the option is there.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: user restrictions
Reply #7 - Mar 7th, 2004 at 8:07pm
Print Post Print Post  
Quote:
Rather than debate intentions, why not provide the feature that is requested and let the developers decide how to use it?


We're not generally debating intentions. Bharat specifically mentioned this in terms of a disgruntled employee. Our point was that preventing deletes while still allowing edits does not protect you from the type of subtle damage which can be inflicted by a disgruntled employee. If deleting a single record is difficult to detect, someone maliciously changing the content of notes on customer conversations or altering invoice dates is almost impossible.

We have a carefully designed security model based on the tried-and-true read/write/execute model used by operating systems for over three decades.  One of the core tenets of this is "If you don't want someone to do damage, don't let them write."

Our security model is capable of expanding well beyond Q&A's. We hear that this particular feature is important to some of you. If it is important to enough of you, we will look into how best to fit it into Sesame's overall design, whether through an SBasic event, an SBasic settable flag or an appropriate slot in the security model. This type of feature, however, is much more high impact than simply writing a new SBasic command. It needs to be considered carefully in terms of its effect on the whole. It's not something we can just drop in, nor does something count as "not a new feature" just because Q&A had it. Every feature we share with Q&A, we wrote from scratch. The security model is not something we followed directly. We went for something that, in the long run, is far more consistent and expandable.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: user restrictions
Reply #8 - Mar 7th, 2004 at 10:30pm
Print Post Print Post  
A consideration to imiplement this could perhaps include an @DELETE function like @ADD, @UPDATE.  Then we could use this on Form Exit Events to save a copy to another database, make a log of record number, user, date, time, etc. for Admin controls.

Since the record is not really deleted, maybe a log is sufficient if the ability to do an UNDO DELETE was provided.  That was a great suggestion by Mark.

Activity logs, email, sytem message alerts,. etc. could be generated whenever a record was deleted under conditions defined in the application using an @DELETE function.  Could even prevent/undo the Delete, shut down Sesame and stop its restart.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: user restrictions
Reply #9 - Mar 7th, 2004 at 10:42pm
Print Post Print Post  
Erika,
Consensus is very clear.  We have been using the system and working with people for several years and know the importance of such safeguard that developer might not foresee. The data-entry level people got to have write priviledges and especially when they are new, they are error-prone. Because of this reason, data validation is very important for data entry and edit and we are very happy to see that Sesame does pretty good job at that. But leaving the data-security hole in the form of someone maliciously, ignorantly, experimentally, foolishly, naively or whatever the reason may be, we cannot expose the data to such risks.  If you just know about the various data- validation codes we have to put into the system and what calibre data-entry people we have to work with, you will definitely see the need for such safeguard that we have been so vehemently looking for.  Thank you for looking from the user point of view and understanding our needs.
« Last Edit: Mar 8th, 2004 at 5:55pm by Bharat_Naik »  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: user restrictions
Reply #10 - Mar 7th, 2004 at 10:53pm
Print Post Print Post  
Quote:
Erika,
Consensus is very clear.  We have been using the system and working with people for several years and know the importance of such safeguard that developer might not foresee. <snip>  Thank you for looking from the user point of view and understanding our needs.

Thank you all for your input. We certainly take it into account when deciding what to take care of, and in what order. Keep in mind that most of us (including myself) are long-time Q&A consultants, applications developers and power users, just like yourselves.  We are not unfamiliar with users or the things they do!  Roll Eyes
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
josebetzy
Member
*
Offline


Hmmm. How? Cómo?

Posts: 33
Location: Las Piedras, Puerto Rico
Joined: Dec 15th, 2003
Re: user restrictions
Reply #11 - Mar 8th, 2004 at 1:51am
Print Post Print Post  
I have a particular need to allow specific people to delete, yet they can edit.

One of the requirements from a national accrediting agency is to have a designated person to be allowed to delete individual records, while all in that department can add and edit records.  Since the department is a closed one (we know who can access what),  malicious editing is caught quickly, because records are checked twice a month, as a minimum.

So, I believe a feature like undelete or allow delete somehow is very needed.

  

Jose L. Muñoz
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: user restrictions
Reply #12 - Mar 8th, 2004 at 2:07am
Print Post Print Post  
JoseBetzy,

The way Sesame is now, there are three main levels of groups namely,  Administration, managel and Data Entry level.  Administration and Managerial levels should have capability to mass delete and Individual delete of records but most of us feel that data-entry group should be able to read and write but at least admistrator should have choice as to allow them to delete individual records or not as per requirement of the company.  The way it is now, the user or administrator does not have that choice to prevent data entry person from deleting individual records and that we feel compromise the data security and safety.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: user restrictions
Reply #13 - Mar 8th, 2004 at 3:30pm
Print Post Print Post  
It is certainly in the plans for Sesame to have the ability in SBasic to on and off all of the available commands. As part of that, the ability to prevent deletion of records will naturally result. It will be part of a integrated and homogenous set of functions. But, it must be seen as an adjunct to application security, and should not be counted on to provide a level of data integrity or security.

Record deletion is not deletion of the container of data, but the data itself. Deleting the data itself cannot be prevented if the "deleter" is given full write access (in any system).

  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: user restrictions
Reply #14 - Mar 8th, 2004 at 5:52pm
Print Post Print Post  
Quote:
It is certainly in the plans for Sesame to have the ability in SBasic to on and off all of the available commands. As part of that, the ability to prevent deletion of records will naturally result.


That should fill the gap and serve the purpose. Thanks Mark for accomodating our needs.
  
Back to top
 
IP Logged