File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -41,19 +41,19 @@ return [
4141 'alias' => '/mypage',
4242 'loginRedirect' => [
4343 'plugin' => 'PluginName',
44- 'prefix' => 'mypage ',
44+ 'prefix' => 'Mypage ',
4545 'controller' => 'Dashboard',
4646 'action' => 'index'
4747 ],
4848 'loginAction' => [
4949 'plugin' => 'PluginName',
50- 'prefix' => 'mypage ',
50+ 'prefix' => 'Mypage ',
5151 'controller' => 'Users',
5252 'action' => 'login'
5353 ],
5454 'logoutAction' => [
5555 'plugin' => 'PluginName',
56- 'prefix' => 'mypage ',
56+ 'prefix' => 'Mypage ',
5757 'controller' => 'Users',
5858 'action' => 'logout'
5959 ],
@@ -73,8 +73,15 @@ return [
7373 'userModel' => 'BaserCore.Users',
7474 'permissionType' => 1,
7575 'isRestApi' => true
76- ],
77- ]
76+ ]
77+ ],
78+ // アクセスルールにて、ログインページへのアクセスを許可する
79+ 'BcPermission' => [
80+ 'defaultAllows' => [
81+ '/mypage/plugin-name/users/login'
82+ ]
83+ ]
84+ ];
7885```
7986
8087
You can’t perform that action at this time.
0 commit comments