Yii 1.1: grbac

Front End for sRbac

This module is for User-Management, it has 4 controllers:

  1. Registration and validation via email verification

    a. Register new users using Short form (email only), on email verification auto-login user.

    b. Register new user using Long form, see older release

    c. Passive registration by the application for a given email.

  2. Authentication

    a. Login and

    b. Logout

  3. Password Recovery

    a. Send Temp password to email on file, or

    b. Send Reset verification to email on file. Validate request and allow user to create new password

  4. My Account (use for dash board - partially implemented as it differs a lot) a. Change Password, b. Update User info

  5. Admin To do: (Management dashboard, manage active and inactive accounts, add new user) The management dashboard links to sRbac for management of Roles, Tasks, and Operations.




Total 3 comments

#1935 report it
NewToYii at 2010/10/17 04:32pm
Sorry! I am blind! It is working now!

Sorry, please forget my last comment! I am blind! I didn't saw the GrbacController.php on the coders webpage. It is not included in the zip-files so it took me some time to figure this out.

Sorry again!

#1934 report it
NewToYii at 2010/10/17 03:48pm
Nothing works properly !!!

Thank you for sharing, but for me nothing works! First of all main controller GrbacController.php is missing! So I decided to copy DefaultController.php to GrbacController.php, but I am running in more and more difficulties. Next index.php?r=grbac routes to wrong url. So I fixed DefaultController.php:

class DefaultController extends Controller {
    public function actionIndex() {
        switch (true) {
            case (Yii::app()->user->isGuest):
            default : $this->redirect($this->createUrl('account/my_account'));

Next I got AuthenticateController.metaNoCache is not defined! So I added following to GrbacController.php:

public $metaNoCache;

And then next and next and next problems occured!

This is no beta version, it is below then a pre-alpha version!!!

Beginners shouldn't even try it!

#925 report it
got 2 doodle at 2010/01/30 10:07am
Great extension

The extension is working well, I had to move a few things around (views mostly). Is there a remove user function? I didn't see one yet and it seems like a necessary part for an extension. I also had a few problems because I didn't include middle name in my tabel (didn't feel it was necessary) so of course there were some errors in view displays.

Anyway great job and thanks for sharing! doodle

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: Deepak Pradhan
  • Category: Auth
  • Votes: +4 / -2
  • Downloaded: 3,809 times
  • Created on: Dec 11, 2009
  • Last updated: Jun 2, 2010