-
Пробуем permit/access/role выдает ниже
PHP Fatal Error – yii\base\ErrorException
Call to a member function getRoles() on a non-object
[http://joxi.ru/EA4npplFDRQGzm](url)
-
After updating Yii i get this error "Unable to locate message source for category 'rbac-admin'.". Yii2-admin is also already updated.
-
The Module::init checks that the User component **is** _yii\web\User_. When using the [yii2-user](https://github.com/dektrium/yii2-user) extension the component class can be a custom one, like _app\mo…
-
Introduce new properties
``` php
public $defaultAuthRoles = [];
public $defaultGuestRoles = [];
// DbManager::checkAccessFromCache()
if (isset($assignments[$itemName]) || in_array($itemName, $this-…
-
Hi,
i have created AuthorRule under backend\rules with namescape backend\rules
with public $name="authorRule"; inside class and overriding execute as described in official guide.
in yii2 admin create…
-
Hi!
It seems cannot declare your base controller because already in use.
throwing this Error: "Cannot declare class juliardi\simplerbac\base\Controller because the name is already in use".
In your bas…
-
Recently, I am getting the menu in the RBAC Manager yielding wrong URL;
e.g. I am getting `/admin#!/assignment#%2Fmenu` instead of `/admin#/menu`. the string _**!/assignment#**_ is inserted everywh…
-
I am using rbac for setting permissions to each user and check permission for each action using if Yii::$app->user->can() method.
For example, if (Yii::$app->user->can('View-all-Inventory'))
This was…
-
This issue has originally been reported by @Ziggizag at https://github.com/yiisoft/yii2/issues/12140.
Moved here by @samdark.
---
There is a dependency issue while installing project with Composer:
…
-
### What steps will reproduce the problem?
Using a SqlServer DB, run the migrations for RBAC Yii module. Then run the migrate/down command.
### What is the expected result?
Migrations are reverted.
…