Commit f3439d56 by Alexander Makarov

Merge pull request #3688 from yiiframework-com-ua/master

Unnecessary line (left after yiisoft@b39effd) [skip ci]
parents 62fdaeec cf884b26
...@@ -244,7 +244,6 @@ class RbacController extends Controller ...@@ -244,7 +244,6 @@ class RbacController extends Controller
$author = $auth->createRole('author'); $author = $auth->createRole('author');
$auth->add($author); $auth->add($author);
$auth->addChild($author, $createPost); $auth->addChild($author, $createPost);
$auth->addChild($author, $reader);
// add "admin" role and give this role the "updatePost" permission // add "admin" role and give this role the "updatePost" permission
// as well as the permissions of the "author" role // as well as the permissions of the "author" role
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment