1-1条,共1条数据.
姓名评论创建日期操作
admin默认有个配置是admin路由所有人都能访问,需要注释掉那一行。
'allowActions' => [
//'site/*',
//'admin/*',
//'link/*',
// The actions listed here will be allowed to everyone including guests.
// So, 'admin/*' should not appear here in the production, of course.
// But in the earlier stages of your development, you may probably want to
// add a lot of actions here until you finally completed setting up rbac,
// otherwise you may not even take a first step.
]
2016-09-19删除