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

feat: Implement UpdatableAdapter on adapter #73

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

jkalberer
Copy link
Contributor

This updates the adapter so that we can use updatePolicy from the enforcer.
I also set up local testing to use sqlite so we can run the tests without a mysql instance.

@casbin-bot
Copy link

@nodece @Shivansh-yadav13 please review

@jkalberer
Copy link
Contributor Author

Sorry for the spam on the other PRs -- I had to make sure CI passed and did't want to deal with fixing the commits :)

Comment on lines -12 to -13
"lint": "eslint src/**/*.{ts,tsx,js,jsx}",
"fix": "eslint src/**/*.{ts,tsx,js,jsx} --fix",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was failing for me on my mac for some reason...?

This updates the adapter so that we can use updatePolicy from the enforcer.
I also set up local testing to use sqlite so we can run the tests without a mysql instance.
@hsluoyz
Copy link
Member

hsluoyz commented Mar 27, 2024

You should fix your commits in existing PR, not creating new PRs

@hsluoyz hsluoyz merged commit e0a116b into node-casbin:master Mar 27, 2024
7 checks passed
Copy link

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jkalberer
Copy link
Contributor Author

@hsluoyz - yep, apologies. I didn't know I could just amend and force push. Will do so in the future.

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.

3 participants