Changed the required permission to controllers CallerLibrary and CallerModel.

This commit is contained in:
Paolo
2018-03-28 18:41:38 +02:00
parent 1fcc878cb5
commit e8bf6ad747
2 changed files with 2 additions and 2 deletions
@@ -21,7 +21,7 @@ class CallerLibrary extends APIv1_Controller
*/
public function __construct()
{
parent::__construct(array('Call' => 'basis/callerlibrary:rw'));
parent::__construct(array('Call' => 'admin:rw'));
// Loads the CallerLib
$this->load->library('CallerLib');
@@ -21,7 +21,7 @@ class CallerModel extends APIv1_Controller
*/
public function __construct()
{
parent::__construct(array('Call' => 'basis/callermodel:rw'));
parent::__construct(array('Call' => 'admin:rw'));
// Loads the CallerLib
$this->load->library('CallerLib');