B
B
Bogdan Ostapchuk2014-10-06 23:56:05
Yii
Bogdan Ostapchuk, 2014-10-06 23:56:05

What is the best way to organize the admin panel in Yii2 using RBAC?

Hello!
I recently started learning Yii2 (before that I used Phalcon). Please tell me how to use RBAC (or its alternative) to organize the separation of the application into the admin panel and the site itself. Now for studying I use the basic version of the application. I would be grateful for helpful advice.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Zelenin, 2014-10-07
@Bogdan92

maybe you should use advanced-app - there is already a division into front and back.

A
Andrey Ezhgurov, 2014-10-07
@eandr_67

Why share? For the 'admin' role, you display additional admin items in the menu on the site. Accordingly, permission to call methods that implement these menu items should be given only for the 'admin' role.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question