-
Notifications
You must be signed in to change notification settings - Fork 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
feat(auth): decouple authorization and admin layout #13
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #13 +/- ##
=======================================
Coverage ? 61.88%
=======================================
Files ? 49
Lines ? 1805
Branches ? 0
=======================================
Hits ? 1117
Misses ? 688
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…-plugin-samples - plugins/git-proxy-plugin-samples/package.json
…ples-manager chore(deps): update dependency @finos/git-proxy to ^1.9.3 - git-proxy-plugin-samples - plugins/git-proxy-plugin-samples/package.json
…es/git-proxy-cli/package.json
fix(deps): update dependency axios to ^1.8.4 - git-proxy-cli - packages/git-proxy-cli/package.json
This PR for #9 builds on top of #7 and #10, making route access more intuitive. All
/admin
routes have been replaced with/dashboard
, and relevant files have been renamed. Actual admin-only routes, such as the list of users, are displayed with the/admin/
prefix. For example:/dashboard/admin/user
.Merging the first two PRs should make this one more manageable! 😃
Unit tests execute the same way as before, and E2E tests have been expanded and amended to work with the new setup.
I also added some quality-of-life features, such as fixing the redirect on login, which had a confusing flow (that was erroring out when logging from the admin/admin account).
When testing, keep in mind that enabling OIDC will make some tests fail. Please set the local auth in
proxy.config.json
toenabled: true
(andopenidconnect
toenabled: false
) to make tests pass. Thank you!Changelog