-
Hi,
I'm developing a REST API (using a module) in addition to standard web controllers in Yii2.
I've been following all the Yii2 guides to adding HttpBasicAuth (using username and password) fun…
-
I have this migration for RBAC:
```php
public function safeUp()
{
/** @var \yii\rbac\DbManager $rbac */
$rbac = \Yii::$app->get('authManagerAlteracaoDeCronograma');
…
-
### What steps will reproduce the problem?
I'm trying to assign role to user with both of these methods:
1)
`
$userRole = Yii::$app->authManager->getRole($role);
Yii::$app->authManager->assign($…
-
### What steps will reproduce the problem?
I am using SQL Server 13.0.4001. I am writing in some rules and roles to be added into the database.
When I try rbac/init I run into several problems. No…
-
### What steps will reproduce the problem?
like create a auth-item and in config add
```php
'modules' => [
'admin' => [
'class' => 'app\modules\admin\Admin',
…
-
RBAC Manager manage multiple object like Role, Permission, Rule
but RBAC Manager use single method for manage them
add, remove, update
i think this method not compliant with solid principle on …
-
yii2-advanced-app template.
I've installed yii2-admin module in my /backend app, it works. Now I want to edit permissions only for frontend app, I use RBAC in DB for this but how to get frontend route…
-
I think it would be good to have console command and debug toolbar with routes that are defined in application. Similar to `bundle exec rake routes` and laravel [routes](http://stackoverflow.com/quest…
-
![image](https://user-images.githubusercontent.com/23693354/78860532-e452f800-7a4b-11ea-8cde-ac92bc75b134.png)
my rule **common\rules\ProfileRule.php**
![image](https://user-images.githubusercon…
-
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`eabase`.`rbac_auth_item`, CONSTRAINT `rbac_auth_item_ibfk_1` FOREIGN KEY (`rule…