-
### 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 '…
-
### What steps will reproduce the problem?
Create a role using rbac/DbManager createRole() and add() Methods:
```php
$role = $manager->createRole($model->name);
$role->name = $model-…
-
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…
-
1. Create a new role without children.
2. Try to call `getChildRoles()`
3. We'll see this error:
```
PHP Warning 'yii\base\ErrorException' with message 'array_key_exists() expects parameter 2 to be a…
-
Rbac makes it possible to specify a role that has a parent role. There is however no function `getRolesByRole($roleName)` to get it's children.
This function is almost identical to the function `getP…
-
$id is my any role and want to get childRoles. But getChildRoles($id) return and my $id role.
![bbf910bd325a4613af346ae65d576e68](https://cloud.githubusercontent.com/assets/10754763/20236863/b77…
-
on php yii init:
Error: Class dektrium\rbac\Module does not exist
ghost updated
8 years ago
-
It would be useful to add a namespace to migrations. For example:
I want to apply the `vendor/yiisoft/yii2/rbac/migrations/m140506_102106_rbac_init.php` migration.
For that now I need to run: `yii mig…
-
This is not an issue but a suggestion
It would be great if non integer primary keys can be created in this way
```
$this->createTable('messages', [
'message_id' => $this->string()->primaryKey(),…
-
Cannot create new permissions or roles using the crud, there is an error in the ItemController line 84
isset($_POST['ItemForm']['oldName']) is always true as its a string maybe an additional check of…