-
I create new project based on yii2 using composer.
composer.json content:
``` javascript
{
"minimum-stability": "dev",
"require": {
"yiisoft/yii2": "2.*"
},
"require-dev": {
…
eukos updated
10 years ago
-
Hi everybody,
I just ran composer update I see the exception PhpManager is missing I noticed PhpManager is not there anymore I am using PhpManger for rbac. is it removed from core or I am doing somet…
-
When making a CRUD interface for Roles and Permissions we need to validate them (`name` is `required` and `unique`, for example) and process validation errors. Also `ActiveForm` will be useful to make…
-
I'm getting a SQL error: `Invalid text representation: 7 ERROR: invalid input syntax for integer: ""` when an action, allowed only for a role defined in the RBAC system, is access by a guest user.
In…
-
Все установил по инструкции. Но при заходе в админку получаю эксепшн Unknown role '2'.
Нашел вот такое обсуждение, но не помогло http://www.yiiframework.ru/forum/viewtopic.php?f=19&t=18911
-
на основе запроса #15
есть предложенеи о передаче настроек в виде параметра в ссылке но опять же возникает множество вопросов как лучеш это сделать:
мне видется один из вариантов такой
при настройке…
-
Following migration:
``` php
public function safeUp()
{
$this->addColumn('{{%field}}', 'deleted_at', Schema::TYPE_DATETIME);
$this->addColumn('{{%fieldOptions}}', 'deleted_at', Sc…
-
The example code in the [guide](https://github.com/yiisoft/yii2/blob/master/docs/guide/security-authorization.md#building-authorization-data) reveals an SQL exception.
https://github.com/yiisoft/yii2…
-
I've created a (proof of concept) RBAC debug panel that allows you to quickly (temporarily) assign an RBAC role to yourself. This makes it really easy to test the impacts of your RBAC rules.
Would th…
-
Getting this for ajax/post submissions after updating to latest dev version. As discussed in #4497 - not sure if the problem is related. Problem resolves on reverting back to previous version of the y…