Wiki

Articles tagged with "rbac", sorted by viewsX
Displaying 11-14 of 14 result(s).

RBAC Super Simple with Admin and User

Created 2 months ago by evercodeTutorials6 comments – viewed 7,641 times – ( +7 / -3 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

Role Management

Created 5 months ago by Dency G BHow-tos0 comments – viewed 4,483 times – ( +2 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

MongoDB's RBAC support class extending BaseManager

Created 3 months ago by edoardo849How-tos1 comment – viewed 2,717 times – version 2.0
Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in common\components and modify your params.php file like this:
tags: mongodb, rbac, yii2

shortcut/usefull access roles methods RBAC

Created 8 months ago by Kostas Apazidis (KonApaz)Tutorials5 comments – viewed 2,520 times – ( +1 ) – version 1.1
These are functions that I used very often, may helps you!