[go: nahoru, domu]

Skip to content

OverFlow636/Ofum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OverFlow User Management

There are tons of user management plugins for cake, but now that 2.1 is on its way i've decided to start another. The plugin is in its early states, but is also already in use for one the sites I run.

The main reasons I wanted to start a new plugin versus use one of the existing ones are as follows.

  • I want a completly generic plugin, no application specific code should be in the plugin. Therefore the plugin can be dropped into any application and just work.
  • I want the user model to still have relationships to other models in the parent application.
  • I want to be able to configure basic options like use username or email for auth.
  • I want permissions bundled with the plugin with inheritance.

The plugin is written to make replacing your existing user management system as easily as possible.

Main Features

  • User table completely configurable, no default fields other than id, (username or email), password, and group_id
  • Ability to configure the relationships for the included user model, without changing the plugins code!
  • Basic and admin views included, but overwriting at least the basic views is recommended
  • Many many events called in the user model and controller so that the main application can access any required data

To Install

  • Clone the project into your app/plugins/Ofum folder
  • run the sql in the config/schema dir
  • load the plugin in your bootstrap
  • In your AppController's $components variable add

-- 'Auth'=>array( 'loginAction' => array( 'plugin' => 'ofum', 'controller' => 'Users', 'action' => 'login' ), 'authorize' => array( 'Ofum.Group' ), 'authenticate'=>array( 'Form'=>array( 'userModel' => 'Ofum.User' ) ) )

To Contribute

Please fork away and send pulls, I need all the help I can get.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published