-
Notifications
You must be signed in to change notification settings - Fork 0
Implement Casbin authorization middleware for Elysia framework #2
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
base: master
Are you sure you want to change the base?
Conversation
|
@nodece @Shivansh-yadav13 please review |
|
|
Co-authored-by: hsluoyz <[email protected]>
Co-authored-by: hsluoyz <[email protected]>
Co-authored-by: hsluoyz <[email protected]>
|
@copilot CI only needs to run against Node.js 24 LTS |
Co-authored-by: hsluoyz <[email protected]>
Co-authored-by: hsluoyz <[email protected]>
|
@copilot fix failed CI check: https://github.com/node-casbin/elysia-casbin/actions/runs/20695967131/job/59411256826?pr=2 |
Co-authored-by: hsluoyz <[email protected]>
... Fixed the CI coverage test failures. The issue was that Jest's coverage instrumentation interfered with how Elysia extracts headers from Request objects. Restructured the affected tests to avoid relying on Request headers while still thoroughly testing custom and default resolvers. All 13 tests now pass in both regular and coverage modes with 90%+ coverage. Commit: 60248d1 |
Co-authored-by: hsluoyz <[email protected]>
fix: #1