Questions tagged [sfdoctrineguard]

The sfDoctrineGuard plugin is a Symfony plugin providing user authentication and access management.

The sfDoctrineGuard plugin is a Symfony plugin providing user authentication and access management. It's designed for Symfony projects using the Doctrine ORM.

79 questions
0
votes
1 answer

Symfony : How to use permission / groups with sfGuardAuth

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…
sf_tristanb
  • 8,725
  • 17
  • 74
  • 118
0
votes
1 answer

sfDoctrineGuardPlugin + vjCommentPlugin

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…
Marat_Galiev
  • 1,251
  • 5
  • 21
  • 31
0
votes
1 answer

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…
LondonGuy
  • 10,778
  • 11
  • 79
  • 151
0
votes
2 answers

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…
Serg
  • 135
  • 1
  • 9
0
votes
1 answer

Add a field in sf_guard_user

I'm using Symfony1.4 on a website. We are recasting it under Laravel5. Both versions are currently online and share the same database. We are using sfDoctrineGuardPlugin. We added an integer field in sf_guard_user. It works fine in Laravel but we…
Didier Sampaolo
  • 2,566
  • 4
  • 24
  • 34
0
votes
1 answer

login with credentials fail with sfDoctrineGuard in symfony 1.4

So I've this application and have to grant access to type of people the admin and a little group of people who have to edit a little part of an module. Lets say I've a module which has fields [A, B, C, D], and a group of people need to change the…
0
votes
1 answer

Log any action made by users in sfDoctrineGuard

I need to log any action made by users in sfDoctrineGuard plugin. Basically I'll need to log: module/action date IP from where users are accessing the application Any plugin? Is that possible? How?
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
1 answer

Creating new users relation isn't saved, what's wrong?

I'm working on a module that uses sfDoctrineGuard plugin as base (means uses sfDoctrineGuard) so in my module I developed this code: class UsuariosForm extends sfGuardUserForm { protected $current_user; public function configure() { …
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
1 answer

How I get the user_id value in sfDoctrineGuard plugin?

I'm working on one module based on sfGuard and I need to allow users to edit or delete records. This is how I get the users: $id_empresa = $this->getUser()->getGuardUser()->getSfGuardUserProfile()->getIdempresa(); $this->users =…
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
1 answer

Create new users with the same group(s) as the user logged in

I'm trying to add new users to sfDoctrineGuard table using my own register form. This is the configure function I made: public function configure() { // Remove all widgets we don't want to show unset( $this['is_super_admin'],…
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
1 answer

Stuck trying to get only users with same idempresa

In my application (developed with Symfony 1.4 and Doctrine) I'm trying to get all users based on idempresa of the user logged in. idempresa is in a sf_guard_user_profiletable and this is the schema for that: SfGuardUserProfile: connection:…
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
1 answer

Setting up the value of a field in a form taking from a Profile

I need some help here understanding how this works. See I'm using sfDoctrineGuardPlugin and add a Profile table as follow: SfGuardUserProfile: connection: doctrine tableName: sf_guard_user_profile columns: id: { type: integer(8), primary:…
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
1 answer

Get and list users based on idempresa of logged in user

I want to get & list all the users that belongs to the same idempresa that the user logged in has. idempresa is related to users in a sf_guard_profile table and yes I have the relation declared on schema.yml file. I think in write a method in…
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
1 answer

Attach profile fields to created users in Symfony and sfDoctrineGuard plugin

I'm trying to attach a idempresa field to the sfDoctrineGuardPlugin but can't get it to work. This is the schema.yml (just relevant tables) for those tables: SdrivingEmpresa: connection: doctrine tableName: sdriving_empresa columns: …
Reynier
  • 2,420
  • 11
  • 51
  • 91
0
votes
0 answers

Issue with sfDoctrine plugin in symfony 1.4 version

I got my project code from server and configured it in localhost. It's running okay but facing issues with sfDoctrine plugin. Recently i started working on symfony. My project was built on symfony framework. I have downloaded all the code from…