[ARVADOS] updated: e07988fd545ad804960d14f255640fed743f5a8b

Git user git at public.curoverse.com
Wed Oct 19 16:19:44 EDT 2016


Summary of changes:
 apps/workbench/app/controllers/work_units_controller.rb | 5 +++++
 1 file changed, 5 insertions(+)

       via  e07988fd545ad804960d14f255640fed743f5a8b (commit)
      from  9bde6c54153c29e5a7503b2af793e8eaf22245a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e07988fd545ad804960d14f255640fed743f5a8b
Author: radhika <radhika at curoverse.com>
Date:   Wed Oct 19 16:19:23 2016 -0400

    10079: show_child_component method needs anonymous access

diff --git a/apps/workbench/app/controllers/work_units_controller.rb b/apps/workbench/app/controllers/work_units_controller.rb
index c0845ee..e375689 100644
--- a/apps/workbench/app/controllers/work_units_controller.rb
+++ b/apps/workbench/app/controllers/work_units_controller.rb
@@ -1,4 +1,9 @@
 class WorkUnitsController < ApplicationController
+  skip_around_filter :require_thread_api_token, if: proc { |ctrl|
+    Rails.configuration.anonymous_user_token and
+    'show_child_component' == ctrl.action_name
+  }
+
   def find_objects_for_index
     # If it's not the index rows partial display, just return
     # The /index request will again be invoked to display the

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list