From 4a0926f5de00960df25b7ac648a50e52b0edd818 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 9 Jan 2020 12:29:26 +0100 Subject: [PATCH] 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(+) diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php index 77463d8960..a684785911 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; + } }