From 029999049cda8cb55a10dcae85771c8bf4435b2a 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; + } }