question re authlogic, all set up but now i'd ike to control access to a
resource so only users who own that resource can control it, I figure I
put this in the Advert controller - is this approach sound ?

http://pastie.org/1069488

I also specify that an admin (just a boolean controlled user) can edit
everything... is it good ?

User, has many Adverts and Advert belongs to a User

Just about to implement this in a new app and wanted a second opinion.

cheers

bb
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to