diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-01-09 12:29:26 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-01-09 12:29:26 +0100 |
commit | 4a0926f5de00960df25b7ac648a50e52b0edd818 (patch) | |
tree | 2438da941d0c90ce1f51b378436b87fb9adf7538 /apps/workflowengine | |
parent | 31c74e87c88ecd8ac92e9cb40797162735cd25b1 (diff) | |
download | nextcloud-server-4a0926f5de00960df25b7ac648a50e52b0edd818.tar.gz nextcloud-server-4a0926f5de00960df25b7ac648a50e52b0edd818.zip |
make the mime type checker for flow available to regular users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/lib/Check/FileMimeType.php | 4 |
1 files changed, 4 insertions, 0 deletions
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; + } } |