spec/dummy/app/controllers/api/api_controller.rb in aaf-gumboot-2.1.3 vs spec/dummy/app/controllers/api/api_controller.rb in aaf-gumboot-2.1.4
- old
+ new
@@ -56,9 +56,10 @@
x509_dn == '(null)' ? nil : x509_dn
end
def check_access!(action)
raise(Forbidden) unless @subject.permits?(action)
+
@access_checked = true
end
def public_action
@access_checked = true