X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/32002eb6e87a391d1fad2b1b206dbc74d6659fc5..cde755bd4d7702c89ebfbd6d2fe8f852509d3786:/apps/workbench/app/controllers/users_controller.rb diff --git a/apps/workbench/app/controllers/users_controller.rb b/apps/workbench/app/controllers/users_controller.rb index f3f36e6b29..7dcd4cc08d 100644 --- a/apps/workbench/app/controllers/users_controller.rb +++ b/apps/workbench/app/controllers/users_controller.rb @@ -244,7 +244,7 @@ class UsersController < ApplicationController @repo_writable = {} repo_links.each do |link| if link.name.in? ['can_write', 'can_manage'] - @repo_writable[link.head_uuid] = true + @repo_writable[link.head_uuid] = link.name end end @@ -302,6 +302,12 @@ class UsersController < ApplicationController end end + def request_shell_access + logger.warn "request_access: #{params.inspect}" + params['request_url'] = request.url + RequestShellAccessReporter.send_request(current_user, params).deliver + end + protected def find_current_links user