RBAC implementation for HiPanel
HiPanel is the next generation control panel for hosting, domains and more.
This package provides RBAC implementation for HiPanel:
- authorization data: roles and permissions
The preferred way to install this yii2-extension is through composer.
php composer.phar require "hiqdev/hipanel-rbac"
to the require section of your composer.json.
To add a role or permission you need to write it to
After adding roles you have to generate description to it by command:
After these actions all rules are saved, and you need to check it by unit tests.
./vendor/bin/phpunit and correct
CheckAccessTrait to fix errors.
Copyright © 2016-2019, HiQDev (http://hiqdev.com/)