final |
|---|
The read-side collector — the read analog of a write-side transaction seal.
A single read can touch many targets (a root set plus its $expand navigation
targets). A {@see \LaravelUi5\OData\Service\Contracts\ReadAuthorizerInterface} records
a verdict per target into this collector; the controller / engine then reads it to shape
the response:
$expand target) → the engine prunes it from serialization and emits
a sap-messages warning (the honest-partial model — added in the next slice);The default {@see AllowAllReadAuthorizer} records nothing, so an unconfigured OData proceeds exactly as before.
| Methods | ||
|---|---|---|
public
|
allow(string $target): void
|
# |
public
|
denyHard(string $target, ReadMessage $message): void
|
# |
public
|
denyDrop(string $target, ReadMessage $message): void
|
# |
public
|
hasHardDenial(): bool
|
# |
public
|
hardDenials(): list<array{target: string, message: ReadMessage}>
|
# |
public
|
primaryDenial(): ?ReadMessage
|
# |
public
|
dropped(): list<string>
|
# |
public
|
dropMessages(): list<ReadMessage>
|
# |