-
### What steps will reproduce the problem?
install php 7.2.2
composer create-project --prefer-dist yiisoft/yii2-app-advanced yii2-app
php init (choose development mode = 0)
composer require mdmso…
-
```sh
[PHPUnit\Framework\Exception (2)] …
-
### What steps will reproduce the problem?
try
```sh
docker-compose -f ~/projects/yii2-phpunit-docker-composition.yml run --rm --entrypoint /repo/vendor/bin/phpunit php
```
```yml
# Local run …
-
### What steps will reproduce the problem?
I did all these steps in a github repo: https://github.com/hofrob/yii2-codecoverage
after cloning do the following:
```
cd app
./dc initialize
./dc…
-
"php yii help" gets this Exception, cause yii\console\Request doesnt have a property cookieValidationKey. This happens because I have set this property in my common config file, I suppose to use cooki…
-
When I use the UI screen `rbac/permission/create` or `rbac/role/create` to create new one, it throw errors as below.
> Missing argument 1 for yii2mod\rbac\models\AuthItemModel::find(), called in ..…
-
首先感谢@windhoney还在更新。现在遇到这样一个问题,想请教一下解决方案。我们前端是vuejs+element-ui,接口就是yii2了。基于现在的rbac解决方案,可以控制某个路由级的权限,比如说create、update、delete等。现在有一个情况是,在一个订单展示页面,不同角色的用户可以查询的内容不一样,比如说admin可以查询订单的价格、数量、利润,而普通员工则只能查询价格和数量…
-
I am searching for cms for my project. I like Yii2 and your system looks interesting.
I have some questions.
1. If i need some new fields in DB at Class User or some else and some new function on it…
-
It'd be cool to manage RBAC from the get-go in yii2-starter-kit.
The following plugin might be a nice addition to fresh installations: http://www.yiiframework.com/extension/yii2-rbac-plus/
-
Can't find instruction about how to make a user admin?
it says Forbidden (#403) when accessing user/admin
try adding 'admins' => ['your-username-goes-here'] as stated:
https://github.com/dek…