commit/galaxy-central: dan: Allow importing one's own history.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/dc9efb540f61/ changeset: r5248:dc9efb540f61 user: dan date: 2011-03-23 00:43:32 summary: Allow importing one's own history. affected #: 1 file (49 bytes) --- a/lib/galaxy/web/controllers/history.py Tue Mar 22 17:49:09 2011 -0400 +++ b/lib/galaxy/web/controllers/history.py Tue Mar 22 19:43:32 2011 -0400 @@ -669,8 +669,9 @@ if not trans.user_is_admin() and not self.security_check( user, import_history, check_ownership=False, check_accessible=True ): return trans.show_error_message( "You cannot access this history.<br>You can %s." % referer_message, use_panels=True ) if user: - if import_history.user_id == user.id: - return trans.show_error_message( "You cannot import your own history.<br>You can %s." % referer_message, use_panels=True ) + #dan: I can import my own history. + #if import_history.user_id == user.id: + # return trans.show_error_message( "You cannot import your own history.<br>You can %s." % referer_message, use_panels=True ) new_history = import_history.copy( target_user=user ) new_history.name = "imported: " + new_history.name new_history.user_id = user.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