diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-01-09 16:29:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 16:29:51 +0100 |
commit | 8d1980339d5f0593cc021ccb8fa16822713ae1d4 (patch) | |
tree | 677b57f9809e31c887cdf0f9ed96da563d60315e /apps | |
parent | 68f2670d3c613fb1dcffd0b5ffdf2bc4bc91165a (diff) | |
parent | 4a0926f5de00960df25b7ac648a50e52b0edd818 (diff) | |
download | nextcloud-server-8d1980339d5f0593cc021ccb8fa16822713ae1d4.tar.gz nextcloud-server-8d1980339d5f0593cc021ccb8fa16822713ae1d4.zip |
Merge pull request #18774 from nextcloud/fix/18762/mimetype-checker-for-users
make the mime type checker for flow available to regular users
Diffstat (limited to 'apps')
-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; + } } |