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

  • Home
  • SEARCH
  • 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 8062405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:39:30+00:00 2026-06-05T10:39:30+00:00

I have the sfGuard plugin installed with three user groups and permissions set. This

  • 0

I have the sfGuard plugin installed with three user groups and permissions set. This was done when the plugin was originally installed, and there was not a lot of data in the database. I would like to add a new user group with new permissions.

I have edited the sfGuard.yml file in the fixtures directory. How do I upload the new yml data to the SQL database without wiping out my current data?

Here is the sfGuard.yml snippet:

sfGuardGroup:
  Group_univ_admin:
    name:           univ_admins
    description:    Universal Administrators
    Permissions:    [Permission_admin, Permission_universal]
  Group_univ_editor:
    name:           univ_editors
    description:    Universal Editors
    Permissions:    [Permission_editor, Permission_universal]
  Group_dept_admin:
    name:           dept_admins
    description:    Department Administrators
    Permissions:    [Permission_admin, Permission_department]
  Group_dept_editor:
    name:           dept_editors
    description:    Department Editors
    Permissions:    [Permission_editor, Permission_department]
  Group_dept_faculty:
    name:           dept_faculties
    description:    Department Faculties
    Permissions:    [Permission_faculty, Permission_department]

sfGuardPermission:
  Permission_admin:
    name:           administrator
    description:    Administrator permission
  Permission_editor:
    name:           editor
    description:    Editor permission
  Permission_universal:
    name:           universal
    description:    Universal permission
  Permission_department:
    name:           department
    description:    Department permission
  Permission_faculty:
    name:           faculty
    description:    Faculty permission

Any direction would be great!

  • 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-06-05T10:39:31+00:00Added an answer on June 5, 2026 at 10:39 am

    I believe the standard fixtures task for loading data will NOT overwrite any existing data, as long as you’re not re-building the db and models:

    php symfony doctrine:data-load data/fixtures/some_specific_file.yml
    

    I would recommend calling the fixtures filename explicitly (as above) to avoid accidentally including a fixtures file from elsewhere in the project structure. There are several places from which they can be included, such as the sfDoctrineGuardPlugin. Do of course also run this on a dev/local database before production to avoid screw-ups.

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

Sidebar

Related Questions

I have symfony 1.4 installed and had setup my own user model (table). Now,
I have an action that takes POST data secured by sfGuard. This means that
Have a look at this picture alt text http://www.abbeylegal.com/downloads/2009-04-01/web%20part%20top%20line.jpg Does anyone know what css
Have you ever obfuscated your code before? Are there ever legitimate reasons to do
have not tested on windows. but in ubuntu when u disconnect from the network,
I've installed the sfDoctrineGuard plugin. Everything is working, I can use the /sf_guard_user/edit/:id page
i have created this query that works OK: $q1 = Doctrine_Query::create() ->from('Usuario u') ->leftJoin('u.AmigoUsuario
Have converted devise new session from erb to Haml but doens't work, this is
have anyone can tell me what syntax error on this actionscript (actionscript3.0)? var rotY:
have Googled the cr*p out of this one so apologies if the answer is

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.