diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-01-09 12:29:26 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2020-01-09 15:30:47 +0000 |
commit | 029999049cda8cb55a10dcae85771c8bf4435b2a (patch) | |
tree | 32accdcb5e4beec1ec35aaa980f46117d05d43fe /apps/workflowengine | |
parent | 5fdac43d5b82a9b38bb0be6492ea072fb08f0760 (diff) | |
download | nextcloud-server-029999049cda8cb55a10dcae85771c8bf4435b2a.tar.gz nextcloud-server-029999049cda8cb55a10dcae85771c8bf4435b2a.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; + } } |