PUGX / PUGXMultiUserBundle

An extension for FOSUserBundle to handle users of different types. Compatible with Doctrine ORM.
163 stars 96 forks source link

Security, firewall and MultiUserBundle #8

Closed benjaminb10 closed 11 years ago

benjaminb10 commented 11 years ago

Hello,

I am using PUGXMultiUserBundle and it is awesome. Good work !

I wanted to know if it is possible to use the firewall to authorize or not UserOne and not UserTwo for instance for the route /userone/profile ?

Regards, Ben

leopro commented 11 years ago

I don't understand why you need a different route for the profile route; the purpose of the bundle is to unify all the routes and the controllers except the registration. Anyway I think you can use the roles.

benjaminb10 commented 11 years ago

Yes I can do this using roles. The thing is that if the purpose of the bundle is to unify everything it is not good for me. In my case, I want :

Thanks for your answer, Ben