app/controllers/scrivito/webservice_controller.rb in scrivito_sdk-0.66.0.rc1 vs app/controllers/scrivito/webservice_controller.rb in scrivito_sdk-0.66.0.rc2

- old
+ new

@@ -55,8 +55,14 @@ end def render_empty_json render 'scrivito/webservice/empty', formats: :json end + + def can_user_read_workspace?(workspace) + can_user_access_workspace?(:read, workspace) + end + + helper_method :can_user_read_workspace? end end