B
B
Bartholomew Izoldin2016-12-06 10:55:12
Yii
Bartholomew Izoldin, 2016-12-06 10:55:12

How to create a user in YII2 using PhpManager and RBAC?

The task is to restrict access to the site to all unauthorized users. I have no experience with yii2. I tried to set up RBAC according to the instructions, but stopped at the question - how now to assign the created roles to the user who is by default in app\models\User::$users?
Explain?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-12-06
@izoldin

Good morning.
Authentication, authorization and RBAC in Yii2
Adding RBAC to differentiate rights

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question