You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The without_access_control block is safer than Authorization.ignore_access_control as it implicitly turns the rules back on at the end of the block. Why is this not available in controllers?
The text was updated successfully, but these errors were encountered:
it's not available anywhere by default.. you have to explicitly include the maintenance file require 'declarative_authorization/maintenance'
then use Authorization::Maintenance::without_access_control (or include the module in the controller)
What is your use case for needing to do this in a controller?
The without_access_control block is safer than Authorization.ignore_access_control as it implicitly turns the rules back on at the end of the block. Why is this not available in controllers?
The text was updated successfully, but these errors were encountered: