Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrate SonataAdminBundle + FOSUserBundle Without SonataUserBundle for security in symfony 2.3?

I am using FOSUserBundle for authentication and roles. For admin panel I am using SonataAdminBundle.

FOSUserBundle Version 2.0.dev (which support event listeners).

When I tried to install SonataUserBundle, It accept only <= 1.3 version of FOSUserBundle(without event listeners)

I need FOSUserBundle with event listeners.

Does anyone know how to provide security with FOSUserBundle (for Admin & Client panel both)?

like image 320
user2558691 Avatar asked Jan 19 '26 10:01

user2558691


1 Answers

Try:

php composer.phar require friendsofsymfony/user-bundle

and then type version:

dev-master as 1.3.2

then you can install Sonata User Bundle.

like image 166
takeit Avatar answered Jan 21 '26 07:01

takeit