fix: [acl] sighting restsearch should be open to all, fixes #9116

JakubOnderka-patch-1
Andras Iklody 2023-07-13 20:35:22 +02:00 committed by GitHub
parent c45734ce5d
commit 64ef573bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ class ACLComponent extends Component
),
'sightings' => array(
'add' => array('perm_sighting'),
'restSearch' => array('perm_sighting'),
'restSearch' => array('*'),
'advanced' => array('perm_sighting'),
'delete' => ['AND' => ['perm_sighting', 'perm_modify_org']],
'index' => array('*'),