X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d446d49dd75f14f3b454fa89190068b4e475c946..a329f06e31462d59d853838beffd077ce732d631:/apps/workbench/app/controllers/repositories_controller.rb diff --git a/apps/workbench/app/controllers/repositories_controller.rb b/apps/workbench/app/controllers/repositories_controller.rb index 3678ceb4fe..d32c92a1e7 100644 --- a/apps/workbench/app/controllers/repositories_controller.rb +++ b/apps/workbench/app/controllers/repositories_controller.rb @@ -11,7 +11,9 @@ class RepositoriesController < ApplicationController panes.insert(panes.length-1, panes.delete_at(panes.index('Advanced'))) if panes.index('Advanced') panes else - super + panes = super end + panes.delete('Attributes') if !current_user.is_admin + panes end end