Hello all,

i'm newbee on ROR and Hobo, but I want to start develop few things.

I'm using the base of Agility tutorial for permissions, and I want
that a registered user will be able to see the projects he created and
also the projects that admin create too. so my question is I can do
something like that?

def viewable_by?(user, field)
        user.administrator? || user == owner || (user.signed_up? &&
owner == user.administrator?)
end

if not please guide me on what's the way to follow to do it

thanks and regards

Gene Serrano

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to