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
3 answers

Backend sfGuardUser module

I use symfony 1.4.11 with Doctrine I have sfGuardUser module in backend. I have sfGuardUserProfile table. sfGuardUserProfile: connection: doctrine tableName: sf_guard_user_profile columns: id: { type: integer(4), primary: true,…
denys281
  • 2,004
  • 2
  • 19
  • 38
0
votes
1 answer

symfony : myUser class => How to access custom property

I have enabled sfDoctrineGuardPlugin, so I have change myUser class to my class extends sfGuardSecurityUser. I have overrided sfGuardUser schema to add my own relation Personnage: local: id foreign: user_id type: one …
Elorfin
  • 2,487
  • 1
  • 27
  • 50
0
votes
1 answer

sfDoctrineGuard not respecting backend controller

As most symfonians, I have a backend (be) controller where admins can login to administer apps for a site. The problem I am having is the login form is not respecting the backend (be) controller. For example:
Mike Purcell
  • 19,847
  • 10
  • 52
  • 89
0
votes
2 answers

sfDoctrineGuardPlugin relations with sfDoctrineApplyPlugin (delete and create users)

I use symfony 1.4.11. I use sfDoctrineGuardPlugin and sfDoctrineApplyPlugin.All works fine, but... In my backend I have user list, where I can manage users.When I create new user from backend, his profile create only in sf_guard_user table, or when…
denys281
  • 2,004
  • 2
  • 19
  • 38
0
votes
1 answer

Is there a smart way to override form action links in sfDoctrineGuard plugin?

I've set up my Symfony 1.4 project to route /admin in the URL to my backend app. This works fine until I want to edit a user or interact with the generated forms in any way. This is because the generated links are not aware of my /admin prefix. Is…
codecowboy
  • 9,835
  • 18
  • 79
  • 134
0
votes
1 answer

Restrict choices shown in symfony admin generator edit multi-select

I am using the admin generator for the sfGuardUser module. The edit portion of the generator.yml file looks like this: edit: title: Editing User "%%username%%" display: "User": [first_name, last_name, email_address, username, password,…
rlandster
  • 7,294
  • 14
  • 58
  • 96
0
votes
4 answers

sfDoctrineGuardPlugin Documentation

I am trying to customize sfDoctrineGuardPlugin to fit into my model and tie things together. Problem is I don't see very thorough documentation beyond how to set it up. I could go through and read the code, but it would be nice if there was a…
Benny
  • 3,899
  • 8
  • 46
  • 81
0
votes
1 answer

sfDoctrineGuard - get only groups logged in user is a member of

I have a table that has a sfGuardGroup column so when a user logs in, they can only see the records users in their group have made. When creating a record I want to have a select box for the sfGuardGroup that only contains the groups that the logged…
dazpinto
  • 105
  • 1
  • 9
0
votes
4 answers

Proxy methods not working in sfGuardSecurityUser

I am developing a filter in Symfony to keep track of certain request that users perform within the application. In order to retrieve the current user I use the getContext() method: $user = $this->getContext()->getUser(); And then I try to access…
elitalon
  • 9,191
  • 10
  • 50
  • 86
0
votes
1 answer

Symfony, Doctrine Guard Plugin, generator.yml file, customizing by using another module

I am using Symfony 1-4 and sfDoctrineGuardPlugin. My question is, on Doctrine Guard Plugin as you know each module came with generator.yml. And i need to customize generator.yml. For example, i need to display another table's (module's) column. //…
Erman Taylan
  • 383
  • 1
  • 3
  • 12
0
votes
1 answer

Using Symfony, sfDoctrineGuardPlugin plugin, How can i customise sf_content? Using partials?

I am using symfony 1.4.8 with sfDoctrineGuardPlugin for my backend. My question is how can i customise sfDoctrineGuardPlugin's default content? For example, how can i do something on the page between filter and table (on the left hand site)? Or, how…
Erman Taylan
  • 383
  • 1
  • 3
  • 12
0
votes
2 answers

allow users to change their own info

I'm creating my own blog engine to learn Symfony, and I have a question : How can I let users edit their password, name, and Profile (embedded form) ? I tried creating an admin-module on sfGuardUser, and hiding fields like "permisions" and "groups",…
Manu
  • 4,410
  • 6
  • 43
  • 77
0
votes
3 answers

Symfony: Routing 'secure' and 'login' actions to another application

Suppose we have 3 apps - appMain, app1 and app2. Applications 1 and 2 are protected, they have is_secure: true and everything works fine with sfDoctrineGuard plugin. A behavior I want to achieve is when a user is not authenticated, current…
Darmen Amanbay
  • 4,869
  • 3
  • 29
  • 50
0
votes
1 answer

do I need a preExecute() function in action class to check proper credentials in Symfony?

to implement credentials do I need to implement a preExecute function like this: public function preExecute() { $this->configuration = new jobGeneratorConfiguration(); if (!$this->getUser()->hasCredential( …
med
  • 369
  • 1
  • 4
  • 18
0
votes
2 answers

Hiding fields in form sfDoctrineGuard

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…
Manu
  • 4,410
  • 6
  • 43
  • 77