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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed (BREAKING)
AdminSuite now fails closed: with no authentication configured, every
engine request responds 403. Configure config.auth_strategy = :http_basic
(or a custom strategy, or the legacy config.authenticate lambda). For
development/test only, config.allow_unauthenticated = true restores open
access (ignored in production).
read_only resources now also reject the built-in toggle endpoint;
undeclared execute_action and bulk_action names respond 404 via a
dedicated bulk-action lookup. Declared member and bulk actions remain
allowed on read_only resources by design.
execute_action with an unknown action name now responds 404 instead of
redirecting with an "Action not found." alert.
config.authorize is now enforced for every resource action with the
contract ->(actor:, action:, resource:, record:, controller:),
action ∈ :read/:create/:update/:destroy/:execute.
config.skip_host_before_actions (default [:require_authentication])
replaces the hardcoded host-filter skip.
Fixed
config.current_actor is now consulted at most once per request
(was invoked repeatedly by views; side-effecting lambdas fired multiple times).
Requests for resource names with no registered resource definition now
respond 404 instead of resolving host model classes directly (closes an
authorization bypass).