mdmsoft / yii2-admin

Auth manager for Yii2 (RBAC Manager)
GNU General Public License v3.0
1.16k stars 577 forks source link

How to use this module in backend for frontend routes? #191

Closed nelo23 closed 4 years ago

nelo23 commented 9 years ago

yii2-advanced-app template. I've installed yii2-admin module in my /backend app, it works. Now I want to edit permissions only for frontend app, I use RBAC in DB for this but how to get frontend routes?

madan3 commented 8 years ago

Use what you did in backend\config\main.php its works

RGTimothy commented 8 years ago

Hi madan3, can you explain more about the method for this issue? Thanks.

madan3 commented 8 years ago

There are many method to use,Better ask me some specific about the your problem there are many assign user permission and give permission to different user.So please notify me when you will have problem.

pigochu commented 8 years ago

Is it possible assign route path like "@frontend/*" or "@backend/abc" ?

mdmunir commented 8 years ago

Is it possible assign route path like "@frontend/*" or "@backend/abc" ?

route is representasion of <controller>/<action>. Where @frontend going to?

firefox747 commented 7 years ago

Hi @pigochu, i had something similar in mind. Possible solution: https://github.com/mdmsoft/yii2-admin/pull/309

sihar commented 4 years ago

I close the issue cause have similarity with #309