Wiki articles tagged with "rbac"

Showing 1-16 of 16 items.

Introducción al control de acceso basado en roles (RBAC)

Created 13 years ago by Juan Calvo, updated 13 years ago by Juan Calvo.

Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

15 1
9 followers
Viewed: 73 305 times
Version: 1.1
Category: Tutorials

CPhpAuthManager - how it works, and when to use it

Created 12 years ago by dckurushin, updated 12 years ago by François Gannaz.

It is actually mentioned in the documentation

1 2
6 followers
Viewed: 32 005 times
Version: 1.1
Category: How-tos

Troubleshooting Rights Extension

Created 12 years ago by junxiong, updated 12 years ago by junxiong.

Rights is one of user interface for Yii's Role Base Access Control extension. It is one of most downloaded extensions in Yii's Web.

5 0
14 followers
Viewed: 30 846 times
Version: 1.1
Category: Tips

ACL and RBAC

Created 11 years ago by zeroByte, updated 11 years ago by kevinkorb.

This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obs...

0 0
3 followers
Viewed: 29 611 times
Version: 1.1
Category: How-tos

Implementing a Flat User Access System

Created 10 years ago by Trejder, updated 10 years ago by Trejder.

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.

6 0
7 followers
Viewed: 17 232 times
Version: 1.1
Category: How-tos

Yet another implementation of CPhpAuthManager.

Created 10 years ago by seenivasan, updated 10 years ago by seenivasan.

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 ma...

5 1
7 followers
Viewed: 19 114 times
Version: 1.1
Category: How-tos

Add information to Yii::app()->user by extending CWebUser (better version)

Created 13 years ago by emix, updated 10 years ago by Anas AbuDayah.

I found a better solution.

5 0
10 followers
Viewed: 49 292 times
Version: 1.1
Category: Tutorials
Tags: rbac, user, Yii

shortcut/usefull access roles methods RBAC

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

These are functions that I used very often, may helps you!

1 0
5 followers
Viewed: 14 403 times
Version: 1.1
Category: Tutorials

How to use bizRules in standard accessControl filter

Created 10 years ago by Maciej Liżewski, updated 9 years ago by Maciej Liżewski.

I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

3 0
8 followers
Viewed: 20 872 times
Version: 1.1
Category: How-tos

Role Management

Created 9 years ago by Dency G B, updated 9 years ago by Dency G B.

Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.

0 0
5 followers
Viewed: 24 115 times
Version: 2.0
Category: How-tos
Tags: rbac, yii2

MongoDB's RBAC support class extending BaseManager

Created 9 years ago by edoardo849, updated 9 years ago by edoardo849.

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:

0 0
4 followers
Viewed: 13 437 times
Version: 2.0
Category: How-tos
Tags: mongodb, rbac, yii2

Getting to Understand Hierarchical RBAC Scheme

Created 13 years ago by daemons, updated 9 years ago by rAWTAZ.

Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure a...

47 0
56 followers
Viewed: 125 460 times
Version: 1.1
Category: Tutorials
6 1
9 followers
Viewed: 58 647 times
Version: 1.1
Category: How-tos

RBAC Super Simple with Admin and User

Created 9 years ago by evercode, updated 9 years ago by evercode.

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 devel...

9 1
15 followers
Viewed: 101 108 times
Version: 2.0
Category: Tutorials

Console Based CAuthManager Helper

Created 9 years ago by bluyell, updated 8 years ago by bluyell.

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.

0 0
1 follower
Viewed: 12 303 times
Version: 1.1
Category: How-tos

Installation guide: Yii-2 advanced template with RBAC system

Created 7 years ago by Sherin Jose, updated 7 years ago by Sherin Jose.

Welcome, all of you !

9 1
19 followers
Viewed: 119 883 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2