commit/galaxy-central: dan: Fix for 7945:4bab7894219e.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/cfaa85995d36/ changeset: cfaa85995d36 user: dan date: 2012-10-16 15:26:37 summary: Fix for 7945:4bab7894219e. affected #: 1 file diff -r 7bd38888e04befd09bde273bc4fc11921483b941 -r cfaa85995d3682d2441db70e6d110f98a12e8d35 lib/galaxy/webapps/galaxy/controllers/dataset.py --- a/lib/galaxy/webapps/galaxy/controllers/dataset.py +++ b/lib/galaxy/webapps/galaxy/controllers/dataset.py @@ -163,8 +163,8 @@ assert hda and self._can_access_dataset( trans, hda ) return hda.creating_job - def _can_access_dataset( self, trans, dataset, allow_admin=True ): - return ( allow_admin and trans.user_is_admin() ) or trans.app.security_agent.can_access_dataset( trans.get_current_user_roles(), dataset ) + def _can_access_dataset( self, trans, dataset_association, allow_admin=True ): + return ( allow_admin and trans.user_is_admin() ) or trans.app.security_agent.can_access_dataset( trans.get_current_user_roles(), dataset_association.dataset ) @web.expose def errors( self, trans, id ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket