What does your controller/view code look like? Are you using the hobo
methods in your controller/view? Some code pasting would be great!

--
Adam Grant
Lead Web Engineer
Telaeris, Inc.
[email protected]
(858) 627-9710


On Thu, Nov 19, 2009 at 3:43 PM, Patrick Fitzgerald
<[email protected]>wrote:

> 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]<hobousers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=.
>

--

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