mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Filter deleted roles from being displayed on the dataset permissions form.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</%def>
|
||||
|
||||
<%
|
||||
roles = trans.app.model.Role.query().all()
|
||||
roles = trans.app.model.Role.filter( trans.app.model.Role.table.c.deleted==False ).order_by( trans.app.model.Role.table.c.name ).all()
|
||||
%>
|
||||
|
||||
%if isinstance( dataset, list ):
|
||||
|
||||
Reference in New Issue
Block a user