We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d672c87 commit b06cacfCopy full SHA for b06cacf
1 file changed
lib/QuickNavigation/ApiFunction/MediaSearch.php
@@ -41,7 +41,7 @@ public function execute()
41
$types = rex_request('types', 'string', '');
42
43
// Berechtigung prüfen
44
- if (!rex::getUser() || !rex::getUser()->hasPerm('media[read]')) {
+ if (!rex::getUser()) {
45
$result = [
46
'success' => false,
47
'error' => 'Keine Berechtigung'
0 commit comments