Wednesday, January 27, 2010

[HELP PLEASE] Question: HABTM

Hi,

I have a question about HABTM.

I'm making a access permission system itself, because I don't need the complexity of the ACL.
I have 3 tables:
  - Users
  - Locals -> access locals of the system.
  - Permissions -> Table N:M with the fields (id, user_id, local_id, _add, _read, _delete, _update)

I created a page for managing permissions, but I have a problem, because when I execute saveAll method, is saving only the fields: user_id and local_id, not the specific fields.

Anybody have a tip for me?

thank you,

Douglas Pacheco Cardoso

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: