Questions tagged [sonata-user-bundle]

Integrates the `FOS/UserBundle` in the Sonata Admin Project to add some features related to the users.

Integrates the FOS/UserBundle in the Sonata Admin Project and adds some features:

  • AdminBundle: add user and group management
  • EasyExtends: allows to generate Application level model
  • Features: User profile dashboard, user profile menu, Google Authenticator support (optional), …

The roles to be assigned to users are splitted in 2 parts:

  • editable: the roles the current user is allowed to assign to other users

(permission or role MASTER)

  • readonly: the roles assigned to the current user, however the current

user is only allowed to see them

When using ACL, the UserBundle prevents normal user to change settings of super-admin users.

To find more information :

244 questions
1
vote
1 answer

sonata user bundle, override

I'm trying to use sonata user bundle. I have to add some fields. I have seen a folder Application\Sonata\UserBundle which is created with the sonata user bundle installation. I have then tried to modify the Entity\User.php file:
anubis
  • 1,425
  • 5
  • 18
  • 47
1
vote
1 answer

Sonata Admin Bundle - adding simple access control

I'm quite new to Sonata Admin Bundle and I'm trying to make the User bundle work, however what I really need is just to limit acces to the admin area to a single administrator so it may be a bit of an overhead. Is it feasibile with all the symfony…
konrad
  • 1,664
  • 2
  • 17
  • 36
1
vote
0 answers

The service "sonata.user.serializer.handler.user" has a dependency on a non-existent service "sonata.user.manager.user"

I want to install SonataUserBundle with MongoDb database , this is my configuration files : My config.yml fos_user: db_driver: mongodb firewall_name: main user_class: Sonata\UserBundle\Document\BaseUser group: group_class: …
Houssem
  • 11
  • 4
1
vote
1 answer

Symfony2, Sonata : Getting rid of unnecessary fields in UserBundle

I would like to not use some default fields giving by the Sonata User bundle. Such as facebook, gplus or twitters fields. I extended the SonataUserBundle in Application\Sonata\UserBundle with Easy-Extends. And created a new User entity extenting the…
Brieuc
  • 3,994
  • 9
  • 37
  • 70
1
vote
2 answers

sonata user new firewall keeps redirecting to wrong route

basicaly what i'm trying to accomplish is to create a new login form based on sonata user which is a fos user implementation used in sonata ecommerce. The new login form is supposed to do the same as the original login form but have different…
nonab
  • 311
  • 2
  • 12
1
vote
1 answer

Symfony 2 | Sonata | user-bundle : route "admin_sonata_user_user_create" does not exist

I followed Sonata user-bundle tuto : http://sonata-project.org/bundles/user/2-2/doc/reference/installation.html Everything works, I get my Application\Sonata\UserBundle. I created a super-admin user, i log and on admin/dashboard, i get this error : …
sAr
  • 41
  • 2
  • 4
1
vote
1 answer

check_path exception with SonataUserBundle

I did have login working fine with FOSUserBundle. I'm trying to get the SonataUserBundle working now with acl. I have followed the instructions here https://github.com/sonata-project/SonataUserBundle/blob/2.2/Resources/doc/reference/installation.rst…
amiga_os
  • 60
  • 6
1
vote
1 answer

Unrecognized options "sonata.user.block.menu,

I am trying to Create ACL following this documentation. after following till last step accurately when i reloaded my page by hitting this localhost/project/web/app_dev.php/profile/ url i got following error InvalidConfigurationException:…
1
vote
0 answers

Symfony2 - FOS UserBundle Sonata Admin/UserBundle error when selecting on on 'enable' user in dashboard

I've managed to get the FOS UserBundle working with Sonata Admin/UserBundle with this guide here: Integrate FOSUserBundle and SonataUserBundle Easily Yet when I click on 'enable' or 'lock' any option in the dashboard, I get this html/log code…
dizzyd
  • 201
  • 1
  • 7
  • 15
1
vote
1 answer

install sonata userbundle in symfony2.4.1

i want to install sonata userbundle and i use symfony2.4.1, this is my composer.json: "require": { "php": ">=5.3.3", "symfony/symfony": "~2.4", "doctrine/orm": "~2.2,>=2.2.3", "doctrine/doctrine-bundle": "~1.2", …
user3309231
  • 186
  • 3
  • 20
1
vote
1 answer

Symfony project; SonataUser, FOSUser and their registration_content.html.twig

Solved -- see bottom of entry I'm trying to get familiar with the SonataUserBundle extending the FOSUserBundle. The installation worked fine (as far as I can tell) and now I want to customize the login and registration forms. I overwrote templates…
1
vote
1 answer

Issue while installing FOSUserBundle

I simply get this error after performing all tasks described in the official documentation:Sonata userBundle Install guide Bundle "SonataUserBundle" extends bundle "FOSUserBundle", which is not registered. While I succesfully installed…
Jihed Jaouabi
  • 194
  • 1
  • 13
1
vote
1 answer

SonataUserBundle's admin lists/inserts to fos_user_user and not my user table

I 'm using FOSUserBundle + SonataUserBundle in Symfony2. I extended Sonata's BaseUser like this: namespace ar1y4n\UserBundle\Entity; use Sonata\UserBundle\Entity\BaseUser as BaseUser; use Doctrine\ORM\Mapping as ORM; use…
Ariyan
  • 14,760
  • 31
  • 112
  • 175
1
vote
2 answers

no DTD found in Symfony2.3

I am using Symfony2.3 _ Sonata Admin + Sonata E-commerce Bundle All installation is successfully done. But When I go Back-end url as login then show me : An exception has been thrown during the rendering of a template ("[ERROR 522] Validation …
1
vote
1 answer

Is it possible to manage permissions only on specific entries in a table with FOS User / Sonata / Symfony?

I'm actually making a small application that aim to show the capacity of the Admin Generator Sonata. For the moment, I can show tables from PostGIS using Doctrine, edit them, filter them. I also added FOS User into my Admin Bundle, so that I can…
user2474622