use getAuthUID function instead of get_uid, use new permission basis/cis and switch to Auth_Controller where possible

This commit is contained in:
Harald Bamberger
2024-11-04 15:41:02 +01:00
parent a65e94bc8a
commit 50880c696b
21 changed files with 84 additions and 76 deletions
+7 -4
View File
@@ -6,7 +6,7 @@ if (!defined('BASEPATH'))
/**
*
*/
class Cms extends FHC_Controller
class Cms extends Auth_Controller
{
/**
* Constructor
@@ -14,11 +14,14 @@ class Cms extends FHC_Controller
public function __construct()
{
parent::__construct();
parent::__construct(
array(
'content' => 'basis/cis:r',
'news' => 'basis/cis:r',
)
);
// Loads Libraries
$this->load->library('AuthLib');
$this->load->library('PermissionLib');
$this->load->library('CmsLib');
// Loads phrases system