-
В фале https://github.com/developeruz/yii2-db-rbac/blob/master/Yii2DbRbac.php
переписать ф-ю на
public function registerTranslations()
{
if (!isset(Yii::$app->get('i18n')->translations['db…
-
When running
```
yii migrate --migrationPath=@yii/rbac/migrations
```
I got this alert
```
Exception 'yii\base\InvalidConfigException' with message 'You should configure "authManager" component to …
-
I'm using the advanced yii template. I've configured it properly. I'm using DbManager as the class in the authManager section. I get an error whenever I create a new rule.
Error: Unknown class: yii…
-
There is no documentation and no one seems to care. so here is an issue where anyone can share a bit he knows and code snippets. Then I will Put them together into Nice documentation. Here are loose l…
-
### What steps will reproduce the problem?
Upgrade to 2.0.10
### What is the expected result?
That is kept working
### What do you get instead?
PHP Fatal error: Class yii\mongodb\rbac\MongoDbManag…
-
### What steps will reproduce the problem?
Add a RBAC rule with a `private` property via `DbManager`.
### What is the expected result?
Rule added successfully.
### What do you get instead?
```
PHP …
-
### Use-case
I have an advanced yii2 project working on production. At some point in time I decided to pull out the reusable code from the project and put it in modules. That's why currently I have…
-
I have default roles
``` php
const ROLE_SUPER_ADMIN = 0;
const ROLE_ADMIN = 1;
....
```
This check not work
https://github.com/yiisoft/yii2/blob/master/framework/rbac/DbManager.php#L219
Claud updated
7 years ago
-
### What steps will reproduce the problem?
1. Create an user 'jam' (successful)
2. Create a role 'marketer', no matter with or without permissions (successful)
3. Assign the user 'jam' with the role '…
-
RBAC manager interface `yii\rbac\ManagerInterface` has been changed:
https://github.com/yiisoft/yii2/pull/12655
In order to function with future 2.0.10 framework release `MongoDbManager` should be ad…