-
Notifications
You must be signed in to change notification settings - Fork 20
refactor access control errors #309
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
Conversation
✅ Deploy Preview for delightful-dieffenbachia-2097e0 canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #309 +/- ##
==========================================
- Coverage 98.06% 98.03% -0.04%
==========================================
Files 64 64
Lines 5586 5586
==========================================
- Hits 5478 5476 -2
- Misses 108 110 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just did the opposite for get_owner()
in #317 ...
Oh that's unfortunate, sorry to hear that! But I think they should both return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this one but after the conflicts get resolved (test_sac_generic must be the one from main
), the new errors must be covered in tests.
they were already covered! 👍 |
Fixes #285
Note: this one is important, it does some refactoring. Namely:
get_admin
signature is changed to return an option, and not return an error, due to we added admin removal functionality ([M-03] Missing Functionality to Renounce Admin #259)PR Checklist