Dear Nate,

Uncommenting those three lines worked. I also tried to implement a change to the Grids feature that would allow injecting app.config into Grids, but this doesn't work yet. (Are all variables such as operations and standard_filters read and used by the framework as static vars even before a UserListGrid object is created?)


I can now see the Delete, Undelete and Purge buttons. Is there a way to permanently delete a user from the database? What does the purge feature do?

Thanks so much,
Oren
Hi Oren,

Hrm, it looks like the option to delete users was removed from the interface since it 
couldn't be made conditional on a configuration setting (due to a limitation in Galaxy's 
"Grids" feature, which is used to display the table of users in the UI).  They 
can be added by uncommented lines 98-100 in lib/galaxy/web/controllers/admin.py:

     #operations.append( grids.GridOperation( "Delete", condition=( lambda 
item: not item.deleted ), allow_multiple=True ) )
     #operations.append( grids.GridOperation( "Undelete", condition=( lambda 
item: item.deleted and not item.purged ), allow_multiple=True ) )
     #operations.append( grids.GridOperation( "Purge", condition=( lambda item: 
item.deleted and not item.purged ), allow_multiple=True ) )


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/

Reply via email to