#528 ✓resolved
Iain

acting_user doesn't work for contained models

Reported by Iain | November 5th, 2009 @ 11:43 PM | in Hobo 1.0 - Final

I have a few situations where I'm cascading CRUD actions on my models through a hierarchy, for example, model A might contain 2 model B's which each contain a model C. Then when I save or delete model A I'd expect that "acting_user" should be the same throughout the whole transaction. Instead what I'm finding is that acting_user is set for model A but not models B or C (it's just nil).

This could have implications for permissions (as by default they look at the acting user) but where it's really affecting me is when I'm creating and deleting the owner/parent object and in the cascade of saves/deletes the acting user is getting lost.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Attachments

Referenced by

Pages