Studienplan & Studiensemester => Auth Controller

This commit is contained in:
cgfhtw
2024-08-13 13:25:10 +02:00
parent e5217afc09
commit f9a41b9685
2 changed files with 10 additions and 4 deletions
@@ -2,12 +2,14 @@
if (! defined('BASEPATH')) exit('No direct script access allowed');
class Studienplan extends FHC_Controller
class Studienplan extends Auth_Controller
{
public function __construct()
{
// TODO(chris): access!
parent::__construct();
parent::__construct([
'get' => self::PERM_LOGGED
]);
}
public function get()
@@ -2,12 +2,16 @@
if (! defined('BASEPATH')) exit('No direct script access allowed');
class Studiensemester extends FHC_Controller
class Studiensemester extends Auth_Controller
{
public function __construct()
{
// TODO(chris): access!
parent::__construct();
parent::__construct([
'index' => self::PERM_LOGGED,
'now' => self::PERM_LOGGED,
'set' => self::PERM_LOGGED
]);
}
public function index()