Forum: Ruby on Rails Base Auth plugin

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
053267a6624a76ba544f311209e8c281?d=identicon&s=25 madankumarrajan (Guest)
on 2009-05-06 02: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])
NEW: user.houses.build
UPDATE: user.houses.create(params[:house])

In such case, I dont see any real value of using base-auth plugin.
4c438a80fc30661ad619ea177cf9cbd0?d=identicon&s=25 Freddy Andersen (Guest)
on 2009-05-06 05: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.