-
As I see on this line
https://github.com/yiisoft/yii2/blob/a6136e1b16b293513bb873e0904bb50d2198ed69/framework/filters/AccessRule.php#L151
the AccessRule behavior calls the $user->can($role) without an…
-
when i try acces to /user/admin i get this error, what happend?
-
Once the yii:t('app','something') has been called changing the sourceLanguage has no effect for following translations.
To verify this you might use this example:
There is an app.php file in each of …
-
I think it can be useful if Yii will provide some web-api support, for example REST, with catching event when request starts, also if Yii will provide some `CRestAction < CAction`, maybe other workaro…
-
This: https://github.com/yiisoft/yii2/blob/master/framework/rbac/Item.php#L22
should be inherited by these:
https://github.com/yiisoft/yii2/blob/master/framework/rbac/Role.php#L17
https://github.com…
-
Hi all. Is it normally?
https://github.com/yiisoft/yii2/blob/master/framework/rbac/migrations/m140506_102106_rbac_init.php#L88
Check this out. user_id have VARCHAR type instead INT. Or i something don…
RSalo updated
8 years ago
-
I'm using Yii 2.0.6. with advanced template.
Tried to install extension how it's described in [Installation](https://bedezign.github.io/yii2-audit/docs/installation/) section of guide, but it didn't …
-
A guide on how to follow https://es.wikipedia.org/wiki/ACID
I teach my coworkers that to use ACID the following steps should be meet.
1) Validate user permissions to execute an operation (usually by…
-
### What steps will reproduce the problem?
I wager the following composer.json and running a `composer install`:
```
{
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project T…
-
Which will work with models representing db tables. Why we need this. For example we have grid:
```
id | name | role
--------------------------------
1 | qiang | repo collab
2 | samdark | repo collab…