Skip to content
Snippets Groups Projects
Unverified Commit 8ea5637c authored by ThanhDodeurOdoo's avatar ThanhDodeurOdoo Committed by Olivier Dony
Browse files

[FIX] base: ir_http access mode

Before the fix, routes using binary_content with access_mode
and access_token didn't work properly since access_token
was compared to the object's access token in all cases.

This commit:

 -prevents the object's access_token check if
access_mode is truthy (since access_mode does its own access_token
check).

 -changes check_access_mode so it now returns a boolean instead of
 a record and is now private.

Closes #27401
parent 1ad4d42f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment