final |
|---|
readonly |
The read-authorization gate: authorize a plan, then execute it.
Shared by the direct read path ({@see \LaravelUi5\OData\Http\Controller\OData::forService})
and each $batch inner request, so both enforce identically:
$expand → pruned from the plan + a sap-messages warning on the 200;For a $batch inner request the outer $batch Request is passed: the plan is
inner-specific and the actor is request-scoped, so per-set gating is correct — an enforcer
decides off the plan and the actor, never Request::path().
| Methods | ||
|---|---|---|
public
|
__construct(ReadAuthorizerInterface $authorizer)
|
# |
public
|
execute(QueryPlan $plan, Request $request, RuntimeSchemaInterface $schema, string $endpoint): ODataResponse
|
# |