Skip to content

Commit 476ac40

Browse files
author
Igor Chepurnoy
committed
update rbac migration
1 parent a4a5fa4 commit 476ac40

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

rbac/migrations/m160722_085418_init.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ public function safeUp()
2828
$this->createPermission('/site/request-password-reset');
2929
$this->createPermission('/site/signup');
3030
$this->createPermission('/site/account');
31-
$this->createPermission('account');
32-
$this->createPermission('adminManage');
33-
$this->createPermission('contactUs');
34-
$this->createPermission('error');
35-
$this->createPermission('login');
36-
$this->createPermission('logout');
37-
$this->createPermission('signup');
38-
$this->createPermission('viewCmsPage');
39-
$this->createPermission('viewHomePage');
40-
$this->createPermission('repairPassword');
31+
$this->createPermission('account', 'User has access to the account page.');
32+
$this->createPermission('adminManage', 'User has access to the administration panel.');
33+
$this->createPermission('contactUs', 'User has access to the contact us page.');
34+
$this->createPermission('error', 'User has access to the error page.');
35+
$this->createPermission('login', 'User has access to the login page.');
36+
$this->createPermission('logout', 'User can logout.');
37+
$this->createPermission('signup', 'User has access to the signup page.');
38+
$this->createPermission('viewCmsPage', 'User can view cms pages.');
39+
$this->createPermission('viewHomePage', 'User has access to the homepage.');
40+
$this->createPermission('repairPassword', 'User can reset password.');
4141

4242
// add child
4343
$this->addChild('repairPassword', '/site/request-password-reset');

0 commit comments

Comments
 (0)