33 string $reason =
'Extension is blacklisted.'
41 if ($this->
settings->isByPassAllowedForCurrentUser()) {
42 return new ProcessingStatus(ProcessingStatus::OK,
'Blacklist override by RBAC');
44 return parent::process($stream, $metadata);
Class ilFileServicesPolicy.
__construct(private ilFileServicesSettings $settings, string $reason='Extension is blacklisted.')
process(FileStream $stream, Metadata $metadata)
This method gets invoked by the file upload service to process the file with the help of the processo...
The base interface for all filesystem streams.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc