rights Rights - Yii access control evolved

  1. Introduction
  2. Donate
  3. Change Log

Yii-Rights on Ohloh


Current version 1.3.0 (revision 147)

This extension utilizes Yii's built-in Database Authorization Manager (CDbAuthManager) to provide a web interface for advanced access control.

View screenshots


Follow the link below to try Rights on the Yii Blog demo. Please contact me if it doesn't work or seems messed up and I will fix it as soon as possible.

Try the demo

  • User interface optimized for usability
  • Role, task and operation management
  • View displaying each role's assigned tasks and operations
  • Assigning authorization items to users
  • Sorting of authorization items by dragging and dropping
  • Installer for easy and quick set up
  • Authorization item generation
  • Controller filter for checking access
  • Support for business rules (and data)
  • Runtime caching to increase performance
  • Internationalization (I18N)
  • Cross-browser and cross-database compatibility
  • Easy to extend

Rights is currently translated into Finnish, French, German, Greek, Hungarian, Italian, Japanese, Spanish, Simplified Chinese and Swedish. Please contact me if you wish to translate Rights.


Want to say thanks for the time and efforts put on this project?

Donate with PayPal

Change Log

April 1, 2011
  • Release 1.3.0
    • Installer now uses the schema.sql in the data folder
    • Installer now names tables according to the application configuration
    • Generator now creates tasks for {ControllerId}.* permissions
    • Optimized the getting of superusers
    • Fixed the problem that access was granted to Rights when no superuser were found
    • Fixed most issues reported on Google Code
January 11, 2011
  • Release 1.2.0
    • Assigned items are now divided into Roles, Tasks and Operations
    • Renamed most of the component classes to be prefixed with ‘R’ for consistence
    • Configuration parameter for whether to display item description instead of name
    • Configuration parameter for the application layout.
    • Removed the guestName configuration parameter, web user guestName will be used instead
    • Changed the forms to not use the form builder for convenience
    • Return URLs are now stored with the web user
    • Authorization item names are now URL encoded when passed as get parameters
December 16, 2010
  • Release 1.1.0
    • Optimization by runtime caching authorization items and their children
    • Improved the authorization manager and authorizer
    • Minor user interface improvements
    • Proper support for CSRF validation in authorization item sorting
    • Renamed the AuthItemWeight table to Rights
October 27, 2010
  • Release 1.0.0
    • Official release
September 5, 2010
  • Release 0.9.11
    • User interface improvements (UI reviewed for usability)
    • Description is now mainly used instead of the name
    • Even more intensive use of grid view
    • Minor generator improvements
    • Runtime caching of the module and its components
    • Proper support for overriding the module style
August 28, 2010
  • Release 0.9.10
    • Use of grid views and data providers
    • Proper authorization item sorting according to weights
    • An own user behavior
    • Generator now also looks for controllers in subfolders
August 13, 2010
  • Release 0.9.9b
    • Fixed a somewhat critical bug in the installer which cased the installer to not run correctly.
August 11, 2010
  • Release 0.9.9
    • Improved authorization item generation
    • Improved installer
    • Improved module configuration
    • Rewritten style sheet for easier styling
August 4, 2010
  • Release 0.9.8
    • Authorization item generator
    • Installer automation
    • Improved support for module nesting
July 31, 2010
  • Release 0.9.7
    • Module nesting
    • Flash messages
    • Authorization item sorting
    • Hover functionality for tables
    • German translation (thanks g3ck0)
    • Italian translation (thanks joeysantiago)
July 28, 2010
  • Release 0.9.5
    • Support for custom style sheets
    • Swedish translation
July 26, 2010
  • Release 0.9.3
    • Rights Installer
    • Improved module configuration
    • Pagination for Assignments
July 20, 2010
  • Release 0.9.2
    • Internationalization (I18N)
    • Finnish translation
July 19, 2010
  • Release 0.9.1
    • Initial release
199 4
58 326 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Auth
Developed by: Chris83
Created on: Jul 22, 2010
Last updated: 12 years ago


show all

Related Extensions