-
-
Lets see how assets load dependencies.
``` php
class AppAsset extends AssetBundle
{
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
];
}
```
This allo…
-
Can you explain to me how i can import your permissions rules using https://github.com/dektrium/yii2-rbac ?
I don't have the faintest idea where to start.
```
-
Hello everyone. I have one project where I use MongoDB. Current version RBAC is not support Mongo DbManager. That is why I make MongoDbManager.php.
Code here:
https://github.com/z010107/yii2_rbac_mon…
-
Sorry to come back on it again: a subject on which already a lot has been said. There are examples of use, examples of advantages and arguments like '@samdark: that there couldnt be one single way of …
-
Minor point, but is there any reason for using `utf8_general_ci` collation rather than `utf8_unicode_ci` in the MySQL table options?
Used here ...
https://github.com/yiisoft/yii2/blob/bb4a0c70a1b7f2e…
-
Hi, thanks for this very good module. Unfortunately I have a small problem with image picker, using as in your description it gives a 404 page not found error on create action in a form when clicking …
-
hi all, sorry for any inconvenience
when making a migration indicating the migrationPath, for example:
> $./yii migrate --migrationPath=modules/foo/migrations
yii does not save the migration path us…
ghost updated
8 years ago
-
I wanna the guest can only access /admin/user/login
and admin can access other part under /admin
I created two roles: guest and admin, and the admin has permission to access the /admin/*
![image](ht…
-
Например у меня есть две роли "admin" и "user".
- вручную добавил наследования admin от user.
```
$roleAdmin = Yii::$app->authManager->getRole('admin');
$roleUser = Yii::$app->authManager->getRole('u…