I can't see [remove selected]

A place for users and developers of the Xataface to discuss and receive support.

Postby siainmi » Fri Aug 03, 2007 3:47 am

What is the the problem about it?
siainmi
 
Posts: 30
Joined: Wed Dec 31, 1969 5:00 pm

Postby siainmi » Fri Aug 03, 2007 4:13 am

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!!
siainmi
 
Posts: 30
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Aug 03, 2007 12:23 pm

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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby meikel » Sat Aug 04, 2007 12:43 pm

Hi Steve,
will this be implemented in the next release of DF? Is there a "workaround"?
meikel
 
Posts: 17
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Sun Aug 05, 2007 2:00 am

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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

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

Postby nibra2000 » Tue Feb 10, 2009 1:38 pm

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
nibra2000
 
Posts: 15
Joined: Wed Feb 04, 2009 10:04 am

Postby shannah » Tue Feb 10, 2009 10:00 pm

You can do this simply be denying them the "delete found" permission.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Deny "Delete Found" permission

Postby nibra2000 » Mon Feb 16, 2009 11:48 am

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
nibra2000
 
Posts: 15
Joined: Wed Feb 04, 2009 10:04 am

Postby shannah » Mon Feb 16, 2009 1:49 pm

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 11 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved