M
M
Maxim Timofeev2015-08-12 22:45:14
Yii
Maxim Timofeev, 2015-08-12 22:45:14

How to enable debug panel in YII2 only for usera with admin role?

I know how to connect the debug panel by ip. But there are Admins with dynamic ip addresses. How to connect it by user role?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
matperez, 2015-08-13
@matperez

You can inherit the module and override \yii\debug\Module::checkAccess in it. Here is another issue on this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question