Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 592813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:46:45+00:00 2026-05-13T15:46:45+00:00

I am using symfony 1.31 with propel ORM and sfGuardPlugin I am about to

  • 0

I am using symfony 1.31 with propel ORM and sfGuardPlugin

I am about to setup groups and permissions. AFAIK, permissions map unto Credentials, and permissions can be assigned to groups.

I have two questions

  1. Suppose a user belongs to group A, and group A has credentials ‘foobar’. When a user that belongs to group A logs in, does he ‘automagically’ get assigned credential ‘foobar’, or do I have to manually, add the credential to the user (by say looking up its group->permissions in the db) ?
  2. Assuming the SF framework ‘automagically’ takes care of user credential depending on group membership, is the effect real time, or does a user have to logout/login before the changes are applied/in effect?

[Edit]

Regarding question 1, I would be grateful for a link to (preferrably the SF official documentation – failing that, any other doc), that states that this is indeed the case.

Regarding question 2, the sfSecurityUser has addCredentials method that stores credentials in the user session. Consequently, I suspect that any group membership changes are NOT real time, so I will either have to force use to logout/login or maybe use an event listener or something.. am I right (or wrong)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:46:45+00:00Added an answer on May 13, 2026 at 3:46 pm

    EDIT:

    • sfGuard Plugin Page with HTML version of Readme
    • sfGuard Readme (txt) (should be included in your plugins installation dir)

    If you set up sfGuard right then the crednetials will be automagic. In particular this requires you apps/$appname/lib/$userClass.class.php (typically MyUser.class.php) to extend sfGuardSecurityUser. Setting this up should be in the plugin readme.

    As far as 2 goes, since the credentials have to be queried each request then it would happen immediately from the users perspective (unless of course youre using ajax to add a perm/crednetial).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Symfony 1.2.9 (with Propel ORM) on a website I am building.
In my PHP application ( constructed using symfony framework and Propel ORM), when I
I am using Symfony 1.2.9 (with Propel ORM), to build a website. I have
I am using Symfony (1.31) - with Propel ORM to build a website. I
I am using Propel as my DAL for my Symfony project. I can't seem
I'm using Symfony 1.2 in a standard Propel form class. public function configure() {
we using symfony 1.0. We have an module work with Propel objects. The sql-querys
I'm looking for something like break for loops. Here's some example code (using Symfony's
I am using sfOpenID plugin for Symfony, which doesn't support OpenID 2.0. That means,
Using PyObjC , you can use Python to write Cocoa applications for OS X.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.