Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enh: Auto add yii\rbac\Rule to authManager, if exist. #9

Open
githubjeka opened this issue Jan 5, 2016 · 0 comments
Open

Enh: Auto add yii\rbac\Rule to authManager, if exist. #9

githubjeka opened this issue Jan 5, 2016 · 0 comments
Milestone

Comments

@githubjeka
Copy link
Owner

Like as

// add the rule
$rule = new \app\rbac\AuthorRule;
$auth->add($rule);
@githubjeka githubjeka added this to the v2.0.0 milestone Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant