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.
on 2009-05-06 02:53
on 2009-05-06 05:23
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...