-
Notifications
You must be signed in to change notification settings - Fork 981
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
Backport authorization procs to 1.x branch #1322
Conversation
Merge Authentication middleware. Add possibility of passing a proc. Update documentation. (cherry picked from commit fe600c7)
@jarl-dk Thanks for taking a look at this. A blocking issue with this cherry-pick is that it takes the step of removing the feature from the 1.x release series, which we only want to fully remove in the 2.x, which is brewing. |
@olleolleolle : Yes, I just realised this myself. Thanks. I'll see if I can make a backward compatible fixup (selective cherry-pick). |
The PR does contains some bloat code (if just reaching for |
Thank you @jarl-dk, indeed I can see the extra code for basic auth support in the generic |
I'll give it a shot more... |
ca167ed
to
6889426
Compare
6889426
to
6c99a94
Compare
I have updated the PR to not remove any tests and just add the test regarding Proc. |
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.
This is good enough, thanks @jarl-dk, I'll take over from here for the cleanup 👍
Description
This is a backport of authorization using
Proc
s. It is a simple cherry-pick frommain
branch.(cherry picked from commit fe600c7)
Todos
List any remaining work that needs to be done, i.e:
Additional Notes
This is a backport of authorization using
Proc
s. It is a simple cherry-pick frommain
branch.(cherry picked from commit fe600c7)