From 4a0926f5de00960df25b7ac648a50e52b0edd818 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 9 Jan 2020 12:29:26 +0100 Subject: make the mime type checker for flow available to regular users Signed-off-by: Arthur Schiwon --- apps/workflowengine/lib/Check/FileMimeType.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/workflowengine') diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php index 77463d8960a..a684785911b 100644 --- a/apps/workflowengine/lib/Check/FileMimeType.php +++ b/apps/workflowengine/lib/Check/FileMimeType.php @@ -154,4 +154,8 @@ class FileMimeType extends AbstractStringCheck implements IFileCheck { public function supportedEntities(): array { return [ File::class ]; } + + public function isAvailableForScope(int $scope): bool { + return true; + } } -- cgit v1.2.3