change permissions to stream permissions for view

pull/1455/head
Isaac Connor 2016-05-02 19:48:24 -04:00
parent 75f9fde920
commit 01aa2c9319
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class ServersController extends AppController {
public function beforeFilter() {
parent::beforeFilter();
$canView = $this->Session->Read('systemPermission');
$canView = $this->Session->Read('streamPermission');
if ($canView =='None') {
throw new UnauthorizedException(__('Insufficient Privileges'));
return;