PUGX / PUGXMultiUserBundle

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

[QST] Backend implementation with PUGXMultiUserBundle #34

Closed Sydney-o9 closed 10 years ago

Sydney-o9 commented 11 years ago

Hi @leopro,

Thanks for this amazing bundle, could you give us any tips on the backend implementation, ie...

Question 1:

Do you have any tips on what bundles to choose to implement the backend with PUGXMultiUserBundle. At the moment, I am using SonataAdminBundle with SonataUseBundle and it seems to work reasonably well.  Because you are the creator of this bundle, I thought I would just ask you what you think is preferable to use along PUGXMultiUserBundle for user management on the backend side?

Question 2:

Do you create a particular user type for your admin people?

For example:

If we have a website with type 1 : buyers and type 2 : sellers, and we use PUGXMultiUserBundle with 2 types: buyers and sellers. Would you create a type 3 : admins, or would you register any admins as either type 1 : buyers or type 2 : sellers?

Many thanks @leopro, Very much appreciated.

Sydney-o9

leopro commented 11 years ago

Hi @Sydney-o9

question 1

I use https://github.com/PUGX/PUGXGeneratorBundle

question 2

yes, I create a user Admin and then I add needed roles to it

Sydney-o9 commented 11 years ago

Hi @leopro, many thanks for your reply.

That's awesome to see this, I didn't know about the PUGXGeneratorBundle.

Great to hear that we should create a user class Admin for admin people. I didn't know :)

Many many thanks @leopro.