fix: Some ACL tightening

pull/2019/head
iglocska 2017-03-02 09:57:23 +01:00
parent d70d5f6a3b
commit e79ba76c43
1 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ class ACLComponent extends Component {
'strposarray' => array(),
'toggleCorrelation' => array('perm_add'),
'updateGraph' => array('*'),
'upload_sample' => array('perm_auth'),
'upload_sample' => array('AND' => array('perm_auth', 'perm_add')),
'view' => array('*'),
'viewEventAttributes' => array('*'),
'viewGraph' => array('*'),
@ -243,9 +243,9 @@ class ACLComponent extends Component {
'index' => array('OR' => array('perm_sync', 'perm_admin')),
'previewEvent' => array(),
'previewIndex' => array(),
'pull' => array('perm_auth'),
'pull' => array(),
'purgeSessions' => array(),
'push' => array('perm_auth'),
'push' => array(),
'restartWorkers' => array(),
'serverSettings' => array(),
'serverSettingsEdit' => array(),