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
fix(wac): use buildResourceUrl for sidecar Control check; clarify .meta rationale
Address review feedback on the POST .acl/.meta sidecar guard:
- Build the protected-resource URL with buildResourceUrl() (the same helper
authorize()/authorizeAclAccess() use) instead of a hand-rolled
request.hostname string, so the Control decision is evaluated against the
identical origin (host+port, subdomain-normalized) as the rest of WAC.
- Reword the code and test comments: only .acl is consulted for WAC; .meta
is gated as defense-in-depth (protected Solid sidecar), not because it
governs permissions.
0 commit comments