Oth\’s Thoughts


othAuth 0.5

Posted in CakePHP by othy on November 14, 2006

oh my god it’s been ages since my last post, have never been a fan of blogs to be honest:-/

anyway sorry guys the (huge) delay,

but I have good ( old ) news, othAuth 0.5 is here! and the docs too! yay!

The helper, component and article are all at the bakery

So what’s new ?

othAuth now has the notion : modes, a mode is a way of handing users/groups and permission, the default mode is called oth, in that mode, a user belongs to a group and a group has many belongs to many permissions. another mode is nao, and in which a user has many groups, another mode is acl but it’s in heavy dev. I’m planning to add a sim mode, in which there are no groups, just user s and permissions.

some other features include limit login atempts, a way of doing some action ( blocking access to login page, add a captcha, email administrator ) if a user has too many wrong login attempts.

you can add other info to the auth session, for example the user model hasOne profile, you can choose to have the profile available in the session too, that means the session info now is not limited to user, group and permission.( this feature requires the unbindAll function )
also you can use a different encryption method, even your own, by default othAuth uses md5, bu you can use, crypt, sha1 or a callback.

Keeping track of logins, is another interesting feature to discover

Please, Don’t forget that othAuth is a community thing, even if I wrote it, I don’t really consider it mine, it’s for the cakePHP community, you can put some efforts to understand its code and make it better, document some thing, fix bugs and give back to the community

thanks for the people who helped Naonak in the code, and Dieterbe for the docs.

Cake!

One Response to 'othAuth 0.5'

Subscribe to comments with RSS or TrackBack to 'othAuth 0.5'.

  1. Shuurai said,

    Hello,

    I am just wondering, using your AUTH Model, how would I be able to create a new User?

    Say i have an array $signupdata in the form
    Array (

    [User] => Array ( [username] => asdf [email] => asdf@asdf [password] => asdf [how] => asdf [credit] => 100 [dob] => 2006-07-07 00:00:00 ) )

    and in my controller, i did ($this->User->save($signupdata))

    This returns me 0 which I suppose it failed. Anything I am doing that is wrong here?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: