Kunstmaan / KunstmaanBundlesCMS

An advanced yet user-friendly content management system, based on the full stack Symfony framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.
https://kunstmaancms.be
MIT License
402 stars 186 forks source link

Multiple user types and login forms #1375

Closed KevinSleegers closed 7 years ago

KevinSleegers commented 7 years ago

Hi,

At the moment I have a new website where not only admin users should be able to login. Normal users should be able to register and login also.

Normally I would setup multiple roles to determine what the user has access to. The problem is that both users are very different in terms of entity values.

After a quick search I've found out about the PUGXMultiUserBundle, and this looks very promising. Only issue is that I can't get it work with the default Kunstmaan user class.

I was wondering if someone has managed to create this within a Kunstmaan CMS, and would like to know how you did it.

Not sure if this is the right place to ask this since it isn't a bug. If not, I'd like to know where I should ask this, and I will remove this question.

Thanks in advance, Kevin

aistis- commented 7 years ago

Hi,

I am using multiple users in one of my projects. We are using FosUserBundle as the main model and some of it logic, but more or less the standard way of using with Kunstmaan was customized:

So if you have any specific questions, you can ask it here, but I think, that PUGXMultiUserBundle would be usable with some efforts.

mlebkowski commented 7 years ago

Here’s my setup:

I can’t quite remember the specifics, since I wasn’t responsible for this task and it was over a year ago. Anyway we managed to use standard FOSUserBundle functions. I remember looking at PUGXMultiUserBundle and others, but we didn’t decide do use it for some reasons.

Perni1984 commented 7 years ago

we also went a similiar route as @mlebkowski in one of our larger projects.

Devolicious commented 7 years ago

Closing this issue since it has been answered and there is no activity anymore.