X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b4fd2ab4e409e36f894c1fb27144e4fa2854f389..da298b0d96a1e49a1330a4486dcbe22d92d1d743:/apps/workbench/app/controllers/repositories_controller.rb?ds=sidebyside 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