
Cruge is a module providing an extension to the standard Yii Auth mechanism. Using Cruge, you can focus in your application needs, leaving to Cruge the common tasks: registration, password recovery, profile editor, rbac online editor and so on.
It extends the standard Yii Auth API providing more features and providing screens (UI) to help you in get focused in your application needs.
Many people are using Cruge today, it is a well-organized in Code and Architecture, no spaghetti-dependencies, instead a well formed Factory architecture based on components and no-interdependencies.
Cruge was originally designed for those spanish speakers, due to the community is very big and requires a tool that do this work in its native language.
The primary Cruge Features you will are:
Cruge Tutorials & Doc (Wiki, Spanish Only)
PHP Version 5.2.6, 5.4.4, 5.4.5
Yii Framework 1.12, 1.13
User Registration Screen.
All fields provided in this view are automatically rendered by Cruge, providing Customizable Profile Field, inclusive regexp validated, and more.

User Management Screen.

Customizable Fields Editor

Visual Role Assignation

Visual Role Editor
(due the new transation, the labels can be in english too, thanks to Ricardo Obregon)

Total 10 comments
recently (due to non-spanish speakers demand) Cruge has incorporated a standard yii translations message table, thanks to Ricardo Obregon. You can observe the commit in respet to this issue:
https://bitbucket.org/christiansalazarh/cruge/commits/9d248a498c5e86976796e8fd9cbde36df9eb74a1
It's great extension!
But one question.
I couldn't find method for change language, but i found "messages" dir.
How i may do it?
Y que pasa que está en español, YII Framework está en inglés y no sé nada sobre ese idioma, aun así trato de aprender como pueda.
Gracias por la extensión me la recomendaron.
Hi,
Anyone can translate documents into english please. This can help my site
Thanks in advances.
Helo, we are encourage to translate the README and SOURCE COMMENTS to standard englih in short time, is a large work because details. coming soon.
Very bad that the language FAQ is not English, and the vars in SC is elso not in English.
+1 bennouna !
hola, estoy intentando filtrar que opciones se muestran el menu Prueba 1) Intente crear varios menus segun el rol..y no funciono...
if(Yii::app()->user->checkAccess('student')){ $this->widget('zii.widgets.CMenu',array( 'items'=>array( //inicio
array('label'=>'Home', 'url'=>array('/site/index')),
De esta manera No reconoce el role.
Prueba 2) Intente usar la opcion "visible" por rol ..
array('label'=>'Testimonials', 'url'=>array('/testimonials/create/','view'=>'testimonials', 'visible'=>Yii::app()->user->checkAccess('student', $params))),
Muestra a todos los usuarios sin importar el rol el item del menu
hay alguna forma de lograr segun el rol que muestre un item Determinado, probe de estas formas y nada...
Esta buenisimo pero estoy renegando con este tema. Si me das una mano :-) Mil gracias de ante mano
hello @abennouna, yes you are in right, because im spanish speaker the obvious way (i think) to document this extension is in spanish at first place, next (comming soon) in english. source code is totally written in english, not well formatted yet.
Sorry to say it like this, there's no other way: I thought the mainstream / official language on the forum is English. While I'm sure this extension is great, the fact this page is in Spanish makes it belong to some blog, not here.
My 2 pesos :)
Hola, parece muy interesante, lastima que mi desarrollo esta en produccion ! Pero para el proximo lo pruebo ? Siempre quise algo que: 1) solo modifique el accessRule del controller y sepa que controlador, accion, usuario esta accediendo ! 2) en desarrollo vaya creando las entradas de RBAC solo !!
Saludos
Leave a comment
Please login to leave your comment.