Page 1 of 1

PostPosted: Fri Aug 03, 2007 3:47 am
by siainmi
What is the the problem about it?

PostPosted: Fri Aug 03, 2007 4:13 am
by siainmi
More specification:
in Actions menu there isn't Delete the current record

version in use is dataface 0.7.1

P.S. Thank for very good job. Dataface is fantastic!!

PostPosted: Fri Aug 03, 2007 12:23 pm
by shannah

Currently there is no "Deleted Selected" option for list view.Ê This is available for related records lists but not standard lists.

To delete a record, click on the record (to go to it's details view), then click "Delete" from the actions menu on top.
To delete a bunch of records at once.Ê Perform a find to find the records that you want to delete.
Click "Delete Set" to delete all found records.
-Steve

PostPosted: Sat Aug 04, 2007 12:43 pm
by meikel
Hi Steve,
will this be implemented in the next release of DF? Is there a "workaround"?

PostPosted: Sun Aug 05, 2007 2:00 am
by shannah

The workaround is to just do a search for the records you want to delete, then press "delete found records".

Or to delete them individually by clicking on each record, then pressing "delete".

The only thing that is missing is the ability to check the boxes beside the ones you want to delete.
Not sure if this will be in the next release.Ê I will more likely focus first on standardizing the API for creating actions that act on selected records so that others can create their own... then I will look adding a remove selected records action... haven't had any clients requesting this feature yet.
-Steve

Is there a way to disable the ' delete set ' function.

PostPosted: Tue Feb 10, 2009 1:38 pm
by nibra2000
I have a couple users who have the ability to delete records from the database.
And when in list view, it appears as though if you check the boxes for X number of records (we'll say 3) and then click DELETE - then it will ONLY delete those three records that were checked off in list view...
(the delete warning clearly warns that you are deleting full page of records)....
So since there's multiple people with the DELETE privilege - I'd like to dummy proof it a little by not allowing people to delete more than one record at a time..

So, unless this feature/bug has been fixed - I would like to disable the "delete set" function all together, and instead require that records only be deleted one at a time, by going into the records details and clicking "delete"...

Thank's once again for a great tool,
and all the help.
-B

PostPosted: Tue Feb 10, 2009 10:00 pm
by shannah
You can do this simply be denying them the "delete found" permission.

-Steve

Deny "Delete Found" permission

PostPosted: Mon Feb 16, 2009 11:48 am
by nibra2000
Can you please supply some into on getting started with denying a user "Delete Found" ?

Again, I was user X to be able to delete ONE record at a time, but not be able to delete a set of records..
Thank's
-B

PostPosted: Mon Feb 16, 2009 1:49 pm
by shannah
Version 1.1.5 released today changes it so that users require the 'delete found' permission in order to have access to the 'delete found' action.

You can accomplish the same thing in previous versions by adding the following to your application's actions.ini file:
Code: Select all
[delete_found > delete_found]
    permission=delete found


Then just make sure that you deny your users the 'delete found' permission via your getPermissions() methods.

-Steve