commit/galaxy-central: dannon: Make error messages slightly more descriptive for ownership/accessibility failures.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a09398a62b75/ Changeset: a09398a62b75 User: dannon Date: 2015-01-21 17:14:13+00:00 Summary: Make error messages slightly more descriptive for ownership/accessibility failures. Affected #: 1 file diff -r d53869c279cb7cb3b7dbe8bee427130c96c98d20 -r a09398a62b752f72c076fa98ccd149dc8f3050a7 lib/galaxy/web/base/controller.py --- a/lib/galaxy/web/base/controller.py +++ b/lib/galaxy/web/base/controller.py @@ -272,7 +272,7 @@ # allow current history if history == trans.history: return history - raise ItemOwnershipException( "Must be logged in to manage Galaxy items", type='error' ) + raise ItemOwnershipException( "You must be logged in to interact with this Galaxy history", type='error' ) def get_user_histories( self, trans, user=None, include_deleted=False, only_deleted=False ): """ @@ -591,7 +591,7 @@ # Verify ownership. user = trans.get_user() if not user: - error( "Must be logged in to manage Galaxy items" ) + error( "You must be logged in to interact with this Galaxy dataset" ) if data.history.user != user: error( "%s is not owned by current user" % data.__class__.__name__ ) 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)
-
commits-noreply@bitbucket.org