19declare(strict_types=1);
34 private readonly
int $acting_usr_id
40 return $this->delivery->forumObjId();
45 return $this->delivery->containerId();
51 $this->delivery->deliverFile($revision_token);
62 return $this->delivery->deliverZipFile();
73 'Denied forum attachment request: ' . $denial->
reason()->logMessage(),
75 'reason' => $denial->
reason()->value,
76 'forum_obj_id' => $this->delivery->forumObjId(),
77 'container_id' => $this->delivery->containerId(),
78 'usr_id' => $this->acting_usr_id
Records denied attachment requests, so repeated attempts to address a container through a foreign for...
__construct(private readonly AddressedAttachmentDelivery $delivery, private readonly ilLogger $logger, private readonly int $acting_usr_id)
record(AttachmentAccessDenied $denial)
deliverFile(string $revision_token)
Component logger with individual log levels by component id.
A delivery that exposes the identifiers it will resolve its resources from, so an access guard can ju...