Hello there,

First of all, thanks to the symfony team, 1.2 is out!

I need to make sure that users can only access content they created, I
save the author_id  (references the sfguarduser ) for every article.

1) Im using the init-admin interfaces.

The security.yml file supports something like this???:

edit:
  current_must_user_match: author_id   # meaning the current
sfGuardUserId must match the object author id?

I usually add the author_id criteria to the query, but since im using
the init-admin interface, I can only think of 3 solutions, a filter,
hack the ArtivcePeer class and add the criteria automatically, however
I think the proper one will be to override the initiated actions
involved... to bad, a lot of code to repeat.

Any ideas???

Thank's!!!!

Pablo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to