Merge pull request #18774 from nextcloud/fix/18762/mimetype-checker-for-users

make the mime type checker for flow available to regular users
This commit is contained in:
Roeland Jago Douma 2020-01-09 16:29:51 +01:00 committed by GitHub
commit 8d1980339d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}
}