> Is there a way to set default user groups? > Currently, when a new sfGuardUser is created it calls > $this->setDefaultPermissions($sfGuardUser); and sets the permissions that > > have been defined in the app.ym. Is there a similar function > setDefaultGroups? > > I can easily write my own, I just didn't want to reinvent the wheel if > it has already been done and I am just missing it.
No it hasn't been done yet and you're more than welcome if you submit a patch for that ! > Also if I were to write my own function, is there a way to extend > sfFacebookGuardAdapter.class.php or would I just create a new > sfFacebookGuardAdapter.class.php that in myapp/lib with all the old > functions as well any new customizations? The sfFacebook class uses dependency injection to access the guard adapter so you can easily use the class you want as long as it respects the sfFacebookGuardAdapter interface. Regards, Fabrice -- http://www.theodo.fr -- You received this message because you are subscribed to the Google Groups "symfony 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/symfony-users?hl=en.
