38 string $reason =
'Extension is blacklisted.'
46 if ($this->
settings->isByPassAllowedForCurrentUser()) {
47 return new ProcessingStatus(ProcessingStatus::OK,
'Blacklist override by RBAC');
49 return parent::process($stream, $metadata);
Class FileNamePolicyException.
Class WhiteAndBlacklistedFileNamePolicy.
Class ilFileServicesPolicy.
ilFileServicesSettings $settings
__construct(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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface FileNamePolicy.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc