Hi

I have trouble doing what I want by following the symfony book about
security.

My website is divided into 3 parts, each one is designed for a
different user :
- everyone (not authentified) : the standart website
- members : a reserved area (the url for all the members things are /
members/.*)
- admin : the admin zone (url /admin/.*)

Both members and admin have their areas that are not at all the same.

First I think I didn't understand the bundle concept, because the
first time I tried to split my project into 3 bundles, one for each
area.
However this would have caused issues with entities because all these
3 bundles shares the same entities, so where should I put these
entities ?!
So I finally put all in one bundle but it doesn't feel right too...

So what should I put in my security.yml to have 2 login/logout pages,
and 2 different restricted area ? I believe multiple firewalls is the
solution however I didn't find any documentation about this.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to