commit/galaxy-central: inithello: Don't allow uploading files to a deprecated repository.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/3ff1e4ec000a/ changeset: 3ff1e4ec000a user: inithello date: 2012-12-03 16:41:21 summary: Don't allow uploading files to a deprecated repository. affected #: 1 file diff -r 12f55a688c82bb3e26de0ebba3cb202b16cf82e3 -r 3ff1e4ec000a8dae6a533af70b0489d2bf0d4824 templates/webapps/community/repository/browse_repository.mako --- a/templates/webapps/community/repository/browse_repository.mako +++ b/templates/webapps/community/repository/browse_repository.mako @@ -9,7 +9,7 @@ is_new = repository.is_new( trans.app ) can_contact_owner = trans.user and trans.user != repository.user can_push = trans.app.security_agent.can_push( trans.app, trans.user, repository ) - can_upload = can_push + can_upload = can_push and ( not repository.deprecated ) can_download = not is_new and ( not is_malicious or can_push ) can_browse_contents = not is_new can_rate = trans.user and repository.user != trans.user 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