commit/galaxy-central: james_taylor: libraries: fix in query for 'datasets_are_public'
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/ecd131b136d0/ changeset: ecd131b136d0 user: james_taylor date: 2012-10-26 22:23:01 summary: libraries: fix in query for 'datasets_are_public' affected #: 1 file diff -r 50b1d7a65bd2760699d9982d6e1ab60f2dbd665a -r ecd131b136d00d5753992061d12b12156be8b277 lib/galaxy/security/__init__.py --- a/lib/galaxy/security/__init__.py +++ b/lib/galaxy/security/__init__.py @@ -879,7 +879,7 @@ # Now get all datasets which have DATASET_ACCESS actions: access_data_perms = trans.sa_session.query( trans.app.model.DatasetPermissions ) \ - .filter( and_( trans.app.model.DatasetPermissions.dataset_id in dataset_ids, + .filter( and_( trans.app.model.DatasetPermissions.dataset_id.in_( dataset_ids ), trans.app.model.DatasetPermissions.action == self.permitted_actions.DATASET_ACCESS.action ) ) \ .all() 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