symfony - Symfony2 separate user types -
In a project, I need to have two different users:
1) An organization Which can create
2) A simple user who can use content created by organizations
I have separated my workflow in my bundles, let's see the public bundle and Called the Orga bundle and both can be accessed using symphony host's routing Sectors orga.example.com).
Both users need to log in to create or create content. After logging in, users or organizations can access their workflow pages.
So here are my questions: How can you create these two user entities with their login / registration form? Is it possible to do this with FOSUserBundle?
Thank you!
CIRIL
I have really found two solutions to my problem: / P>
1) Manually define two providers as described on this blog:
2) Using PUGXMultiUserBundle to generate multiple user types
< P> The second solution works fine.
Comments
Post a Comment