A
A
a_palanski2017-09-26 10:42:20
Yii
a_palanski, 2017-09-26 10:42:20

Yii2, how to implement different personal accounts, user and provider?

Good afternoon. Can you tell me how to implement different personal accounts during registration? Let's say a user can register as a supplier, or maybe as a user and so that they have different personal accounts.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
IceJOKER, 2017-09-26
@IceJOKER

Modules:
/modules/user_panel
/modules/vendor_panel

M
Maxim Timofeev, 2017-09-26
@webinar

RBAC.
www.yiiframework.com/doc-2.0/guide-security-author...
Different roles, check the role in the controller, load different templates.

A
Alex McOwkin, 2017-09-26
@phpist85

dektrium/user

D
Dmitry, 2017-09-26
@slo_nik

Good afternoon.
Use modular structure, RBAC.
One
Two
Three
These links will help you understand the issue.
Also see the rest of the articles on the blog, with the yii2 tag, you will find a lot of interesting material.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question