Wiki

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

Yet another implementation of CPhpAuthManager.

Created 3 years ago by seenivasanHow-tos3 comments – viewed 11,978 times – ( +8 / -1 ) – version 1.1
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

Implementing a Flat User Access System

Created 3 years ago by TrejderHow-tos1 comment – viewed 10,943 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 10,609 times – ( +3 ) – 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 2 years ago by edoardo849How-tos1 comment – viewed 6,424 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 2 years ago by Kostas Apazidis (KonApaz)Tutorials5 comments – viewed 5,941 times – ( +1 ) – version 1.1
These are functions that I used very often, may helps you!

Console Based CAuthManager Helper

Created about a year ago by bluyellHow-tos1 comment – viewed 5,075 times – ( +1 ) – version 1.1
This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.