diff options
Diffstat (limited to 'src/Controllers')
-rw-r--r-- | src/Controllers/BaseController.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Controllers/BaseController.php b/src/Controllers/BaseController.php index 6a27a066..cbc00931 100644 --- a/src/Controllers/BaseController.php +++ b/src/Controllers/BaseController.php @@ -4,5 +4,16 @@ namespace Engelsystem\Controllers; abstract class BaseController { + /** @var string[]|string[][] A list of Permissions required to access the controller or certain pages */ + protected $permissions = []; + /** + * Returns the list of permissions + * + * @return string[]|string[][] + */ + public function getPermissions() + { + return $this->permissions; + } } |