Skip to content

feat: support Casbin BatchAdapter interface #13

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

Merged
merged 1 commit into from
Aug 29, 2021
Merged

feat: support Casbin BatchAdapter interface #13

merged 1 commit into from
Aug 29, 2021

Conversation

basakest
Copy link
Contributor

No description provided.

src/Adapter.php Outdated
}

$command = $this->casbinRule->getDb()->createCommand();
$tableName = \Yii::$app->permission->config['database']['casbin_rules_table'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@basakest Please use $this->casbinRule->tableName() to get the table name, and use static calls for static methods .

feat: support Casbin BatchAdapter interface
@leeqvip leeqvip merged commit 7490b7f into php-casbin:master Aug 29, 2021
@leeqvip
Copy link
Member

leeqvip commented Aug 29, 2021

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants