1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/620da901f5b1/ changeset: r5213:620da901f5b1 user: jgoecks date: 2011-03-10 23:30:35 summary: Trackster: access to datasets is based on accessibility, not ownership. affected #: 1 file (230 bytes) --- a/lib/galaxy/web/controllers/tracks.py Thu Mar 10 16:42:34 2011 -0500 +++ b/lib/galaxy/web/controllers/tracks.py Thu Mar 10 17:30:35 2011 -0500 @@ -408,7 +408,7 @@ """ # Dataset check. - dataset = self.get_dataset( trans, dataset_id ) + dataset = self.get_dataset( trans, dataset_id, check_ownership=False, check_accessible=True ) msg = self._check_dataset_state( trans, dataset ) if msg: return msg @@ -426,7 +426,7 @@ # TODO: this code is copied from data() -- should refactor. # Dataset check. - dataset = self.get_dataset( trans, dataset_id ) + dataset = self.get_dataset( trans, dataset_id, check_ownership=False, check_accessible=True ) msg = self._check_dataset_state( trans, dataset ) if not msg: msg = messages.DATA @@ -443,7 +443,7 @@ # Dataset check. if hda_ldda == "hda": - dataset = self.get_dataset( trans, dataset_id ) + dataset = self.get_dataset( trans, dataset_id, check_ownership=False, check_accessible=True ) else: dataset = trans.sa_session.query( trans.app.model.LibraryDatasetDatasetAssociation ).get( trans.security.decode_id( dataset_id ) ) msg = self._check_dataset_state( trans, dataset ) @@ -488,7 +488,7 @@ # Dataset check. if hda_ldda == "hda": - dataset = self.get_dataset( trans, dataset_id ) + dataset = self.get_dataset( trans, dataset_id, check_ownership=False, check_accessible=True ) else: dataset = trans.sa_session.query( trans.app.model.LibraryDatasetDatasetAssociation ).get( trans.security.decode_id( dataset_id ) ) msg = self._check_dataset_state( trans, dataset ) @@ -656,7 +656,7 @@ low, high = int( low ), int( high ) # Dataset check. - original_dataset = self.get_dataset( trans, dataset_id ) + original_dataset = self.get_dataset( trans, dataset_id, check_ownership=False, check_accessible=True ) msg = self._check_dataset_state( trans, original_dataset ) if msg: return to_json_string( msg ) 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.