Hi all!

I have companies, people and employees. Employees is an input-many on
both the company and person form.  The show view shows me the
employees just fine. But when I switch to edit, the employees editor
disappears, unless I'm logged in as an administrator.

In the Employee model, I have an #update_permitted? method that
returns !acting_user.guest?. From the console, I can confirm that a
regular user can in fact update the model, while from the UI, it is as
I described above: the UI for the input-many is missing.

This is using Hobo edge as a plugin
3abe182c7d79ec2e5abcb47b0c64650006b8badb on Rails 2.3.5.

I pasted the offending code here: http://gist.github.com/314862

I previously had problems with permissions here:
http://groups.google.com/group/hobousers/browse_frm/thread/5688f88beba5f006/eb9f2760f86e2825?lnk=gst&q=acting_user+beausoleil#eb9f2760f86e2825,
but this time around, it's not because of a missing method.

Thanks for any tips / pointers / docs.
François

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