fix: [security] Prevent unauthorized access to decaying import function

- as reported by Cyber Controls from SIX Group
pull/8906/head
Sami Mokaddem 2023-01-18 15:05:46 +01:00
parent a46f794a13
commit 93bf15d3bd
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class ACLComponent extends Component
'decayingModel' => array(
"update" => array(),
"export" => array('*'),
"import" => array('*'),
"import" => array('OR' => array('perm_admin', 'perm_decaying')),
"view" => array('*'),
"index" => array('*'),
"add" => array( 'OR' => array('perm_admin', 'perm_decaying')),