O'Reilly logo

Yii Rapid Application Development Hotshot by James R. Hamilton III, Lauren J. O'Meara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding the RBAC Extension

In this task, we continue to configure and activate the role-based access control system, and add a management interface to the website to make it easier to review, add to, update, and maintain the authorization information.

Prepare for Lift Off

Download and unpack the srbac and YiiSmartMenu extensions from the Yii website:

Engage Thrusters

  1. Create a directory named modules in your project's protected directory.
    cd ~/projects/ch4/protected
    mkdir modules
    
  2. Move the srbac directory into the newly created modules directory.
    mv ~/Downloads/srbac\ 1.3beta/srbac/ ~/project/ch4/protected/modules/.
    
  3. Edit the project configuration file ( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required