-
code:
``` php
$createPost = $auth->createPermission('createPost');
$createPost->description = 'create a post';
$auth->add($createPost);
// add "readPost" permission
$readPost = $auth->createPermissi…
gimox updated
10 years ago
-
Prepare a basic crud to allow privileged users to browse user accounts, update them, change their status and perform other actions.
Possibly manage RBAC roles assignments, relates to nineinchnick/yii…
-
> EDIT: kartik-v: Changed title to `Design Discussion Thread`, original title was `Data Model`
I think one thing which should be always done carefully in the beginning of an extension is the data mod…
-
_[update from schmunk42] Changed title, original title: Facebook User Login/Create Extension_
Yii's advanced template has a great user model and it would be nice if we could have an extension that ma…
-
Currently in RBAC, we store a biz rule directly with its associated auth item. This has several drawbacks.
1. The same biz rule needs to be repeated several times if it can be associated with multiple…
-
PHP Fatal Error – yii\base\ErrorException
Call to a member function getItems() on a non-object
1. in /vendor/mdm-yii2/mdm-admin/mdm/admin/models/AuthItemSearch.php at line 54
4950515253545556575859 …
-
Hi.
I think we need change this code https://github.com/yiisoft/yii2/blob/master/framework/rbac/DbManager.php#L452 to like this
``` php
'data' => $data ? serialize($data) : null,
```
becouse, if we…
-
i would try the yii2 RBAC it's possible add some minimal doc to try it?
gimox updated
10 years ago
-
I have started working with mongodb extension and able to work smoothly.
But the default functionality like maintaining users , login, logout... needs changes in out of the box code.
Is it possible t…
-
Why u use eval and php in string for bizRule?
May be use callback will be nicer?
in rbac.php somthing like this
``` php
'UserApproved' => [
'type' => Item::TYPE_ROLE,
'description' => 'appr…