Forum: Ruby on Rails Base Auth plugin

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
madankumarrajan (Guest)
on 2009-05-06 04:53
(Received via mailing list)
Where do we really need base-auth plugin?
If a 'user' has multiple 'houses', most of the RESTful actions can use
user.houses itself instead of base-auth.

INDEX: user.houses
EDIT/UPDATE/DESTROY/SHOW: user.houses.find(params[:id])
UPDATE: user.houses.create(params[:house])

In such case, I dont see any real value of using base-auth plugin.
Freddy A. (Guest)
on 2009-05-06 07:23
(Received via mailing list)
The base-auth plugin is a authentication plugin and has nothing todo
with how you access a resource (the users houses). You can use the
helper methods to enforce access rights but it still has nothing to-do
with user.houses

base-auth is a similar plugin to restful-authentication and Authlogic
just different features...
This topic is locked and can not be replied to.