oillio wrote:
> Funny how you always find a solution just after you post the question.
> I fixed it by changing my permissions to:
> def view_permitted?(field)
>   return true if nil == id && acting_user.manager?
>   acting_user == self || acting_user.administrator? || managed_by_is?
> (acting_user)
> end
> 
> But I still don't get why view_permitted? is getting called on a new
> user.

This is standard behaviour.  It makes sense why view_permitted is called 
on update.  The argument for create is a little less solid, but I'm sure 
Tom had a reason when he did it.
> 
> I am also having a problem getting a Users tab to appear in my
> navigation bar.  My main-nav tag in pages.dryml shows a Users nav-
> item.  But it does not actually show up on my page...  What could be
> going wrong?

Where and how are you overriding main-nav?  Please post your code.

thanks,
Bryan


--~--~---------~--~----~------------~-------~--~----~
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