-
https://github.com/windhoney/yii2-rest-rbac/blob/4cbd9ee902495b1787075ad9688d57bd86bd1a00/models/Menu.php#L199
这个是不是可以通过`authManager`来获取?
```php
Yii::$app->getAuthManager()->itemTable
```
-
### What steps will reproduce the problem?
Installed the extension exactly as described in the documentation. Specifically,
1. Ran `composer require 2amigos/yii2-usuario:~1.0`
1. Altered /console/c…
-
@windhoney 能给我一个完整的demo吗?
-
Attempts to split framework into truly independent parts get stuck in interdependencies problem.
Example: `yii\rbac\CheckAccessInterface`.
At the moment it is defined in `yiisoft/rbac` package.
T…
-
I setting config main module
'gridview' => [
'class' => '\kartik\grid\Module'
]
but export gridview not found ???
-
How can I apply migrate if php in Docker
-
Может я ошибаюсь, но проблема по-моему есть и поведение странноватое, хоть и не критичное в моем случае.
У меня есть модуль "Payture" и есть контроллер самого приложения с одноименным названием "Paytu…
bfday updated
4 years ago
-
yii\web\User require implementation of Yiisoft\Rbac\CheckAccessInterface so it force us to install yii-rbac package even we don't want to use it. Also yii-web has'nt yii-rbac as production dependency,…
-
#### What are you trying to achieve?
move mouse
#### What do you get instead?
> Provide console output if related. Use `-vvv` mode for more details.
```bash
root@38daca98ac4d:/project/backe…
-
I have this RBAC migration:
```php
public function safeUp()
{
/** @var \yii\rbac\DbManager $rbac */
$rbac = \Yii::$app->get('authManagerAlteracaoDeCronograma');
…