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:
commit
8d1980339d
|
@ -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 New Issue