mariaczi
(Marekurbanowicz)
April 3, 2011, 11:48am
1
Hi!
I need in my app good permisions system.
So in Yii i have to use RBAC.
I need 3-4 levels on front end, and 2 on backend.
Which extensions for RBAC is the best in your opinion for my app and why?
Please give me tips, because i cannot spend time for testing and searching good module…
PrplHaz4
(Jjhayesiii)
April 12, 2011, 6:11pm
2
My limited research tells me SRBAC if permissions is your primary focus, or yii-user-management if you want other features along with basic permission control. Your requirements sound simple, so you will likely be fine with the built in yii RBAC…
mentel
(Yii)
April 13, 2011, 8:02am
3
I like Rights.
It is easy to use, well documented and seems easy to integrate to the design of your website.
mariaczi
(Marekurbanowicz)
April 13, 2011, 8:22am
4
This module looks so nice!
I dont know, how it can provide roles/tasks without rbac?
mentel
(Yii)
April 13, 2011, 11:13am
5
Rights is an extension for RBAC
It just makes everything easier.
za_al
(Zakieh Alizadeh)
July 16, 2012, 7:11am
6
redguy
(Maciej Lizewski)
July 16, 2012, 8:02am
7
if you just need ‘levels’, not ‘roles’, ‘roles inheritance’, etc, then RBAC is an overhead, and you probably won’t need it…
You can just put user ‘level’ in users state (Yii::app()->user->setState()), and use expressions in accesfilters:
‘expression’=>’$user->getState(“level”)>=2’,