Hi all,
   This is probably really simple but...

I want to prevent a user from accessing a tab and anything at all to do with
a model.  I have tried changing the code to:

def view_permitted?(field)
acting_user.administrator?
end

which didn't affect a normal user's ability to view the page.  I've also
tried to force it using:

def view_permitted?(field)
false
end

Am I missing something obvious?!

Thanks for all help!

Patrick

--

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=.


Reply via email to