sfdoctrineguard

Symfony 1.3: the signin form appears even when i have the security set to false

Hi, i have installed sfDoctrineGuardExtraPlugin and when i try to execute an action from sfGuardRegister or sfGuardForgotPassword i get the sfDoctrineGuardUser signin form. I have the security set to false. I don't have that problem with other modules. If i uninstall sfDoctrineGuardPlugin i get this error: 404 | Not Found | sfErro...

Symfony sfDoctrineGuard plugin sfGuardUser module

When using sfDoctrineGuard plugin, it automatically generates the backend administration functionality where I can edit users of the system and assign them permissions. So I visit http://.../backend_dev.php/sf_guard_user/:id/edit where I am presented with the user's information including the available permissions to select. By default ...

symfony override BaseForm class howto

I've installed the sfDoctrineGuard plugin. Everything is working, I can use the /sf_guard_user/edit/:id page to edit a user. I didn't like the way the permissions were listed as a select list, I wanted to display them as individual checkboxes split up based on the permission name. To do this I created a custom widget that extends sfWidg...

Widget "password_again" does not exist.

Got this error: Widget "password_again" does not exist. I can't think why it has suddenly started appearing. I'm using the default generator file supplied with the sfDoctrineGuard plugin plugins/sfDoctrineGuardPlugin/modules/sfGuardUser/config/generator.yml generator: class: sfDoctrineGenerator param: model_class: sfGuardU...

sfDoctrineGuardPlugin : signin form, error 'csrf token : required'

Hello, I have just installed sfGuardPlugin to manage my user. But since I have try to customize the signin page, I have an error "csrf token : required". And I don't find where the error come from, I think I didn't change other thing that the template. My signin form : <?php use_helper('I18N') ?> <span id='message'>Vous devez vous co...

How do I embed sfDoctrineGuardPlugin register/signup form into my homepage module template?

So far I have copied sfGuardRegister into my frontend app modules directory so it has taken over the default sfGuardRegister located in the sfDoctrineGuardPlugin directory in the symfony plugins directory. I want to have the plugins sfGuardRegister signup/register form show up on my homepage template.. Thanks in advance ...

Symfony/sfDoctrineGuard Conditional Permissions

Hey All, I'm contemplating the best way to implement the conditional permissions i.e. Users and Teams are m-to-m. But each Team also has a 1-to-m "Leader" relationship with the User table as well. For simplicity sake, let's say we have two permission levels, "User" and "Admin". Then lets say, only certain Team administration task i.e. ...

sfDoctrineGuardPlugin + vjCommentPlugin

Hi. I'll have installed both plugins on my symfony project via official Readme, everything installed fine, without errors. But when I click on SendComment button, I have error: Empty module and/or action after parsing the URL But when I place cursor to the address bar and press enter, page refresh and I can see my page but without com...

schema.yml using sfDoctrineGuardPlugin

Hello, I'm building a schema.yml and I'm trying to add foreign key constraints to the table sf_guard_user. But, when I do doctrine:insert-sql (edit: doctrine:build --all), the links between my tables and sf_guard_user are not there ! Am I missing something ? I'm using mysql (InnoDB) and Symfony 1.4 Here's a sample of my schema.yml : ...

Symfony : How to use permission / groups with sfGuardAuth

Hello, I just saw that there is no so much documentation about sfGuardAuth groups and permission. I have a permission named : moderator I have 3 groups : full_time / half_time / quarter_time In my backend (symfony 1.4 / doctrine), I have 5 modules Only these two have to be visible for this : [st_job / st_offers ...]. Generic rule : I...

Embed forms in Symfony

Hi, I've added a profile class to sfDoctrineGuard, and in the admin I'm trying to edit the profile part while editing the user, using embed forms as explained here: http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin Editing users works, but when I add "User": [username, password, p...

Hiding fields in form sfDoctrineGuard

Hi, I'm trying to remove some fields from the form generated by sfDoctrineGuard. I don't care about the name or email of my users, I just want them to have an username and a password. I've tried editing /lib/form/doctrine/sfDoctrineGuardPlugin/sfGuardUserForm.class.php : class sfGuardUserForm extends PluginsfGuardUserForm { public ...