commit/galaxy-central: greg: Allow repository owners to reset all repository metadata in the tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/982aa4ecc7b5/ changeset: 982aa4ecc7b5 user: greg date: 2013-01-25 19:23:59 summary: Allow repository owners to reset all repository metadata in the tool shed. affected #: 1 file diff -r 3cc16ea80b08e9faa2f721051d89167959aceb2a -r 982aa4ecc7b5be0d4a4e84b149e47bfc4ef7cc7f templates/webapps/community/repository/manage_repository.mako --- a/templates/webapps/community/repository/manage_repository.mako +++ b/templates/webapps/community/repository/manage_repository.mako @@ -18,7 +18,7 @@ can_push = not is_deprecated and trans.app.security_agent.can_push( trans.app, trans.user, repository ) can_download = not is_deprecated and not is_new and ( not is_malicious or can_push ) can_rate = not is_new and not is_deprecated and trans.user and repository.user != trans.user - can_reset_all_metadata = not is_deprecated and is_admin and len( repo ) > 0 + can_reset_all_metadata = not is_deprecated and len( repo ) > 0 can_review_repository = has_metadata and not is_deprecated and trans.app.security_agent.user_can_review_repositories( trans.user ) can_set_metadata = not is_new and not is_deprecated can_set_malicious = metadata and can_set_metadata and is_admin and changeset_revision == repository.tip( trans.app ) 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