Merge pull request #18784 from nextcloud/backport/18774/stable18
[stable18] make the mime type checker for flow available to regular users
This commit is contained in:
commit
f2575ccdb5
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue