-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Allow empty claim value to mimic behavior of ASP.NET AuthorizationPolicyBuilder.RequireClaim
method
#1337
base: develop
Are you sure you want to change the base?
Allow empty claim value to mimic behavior of ASP.NET AuthorizationPolicyBuilder.RequireClaim
method
#1337
Conversation
Hi Ihor! Is this PR related to some issue in the backlog? |
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.
Ihor,
I know, reviewing of this PR should be pretty easy from my side, but the case is quite specific.
The case should be covered by unit and/or acceptance tests.
${\color{orange}The\ case\ should\ be\ covered\ by\ unit\ and/or\ acceptance\ tests.}$
So, add test(s) please!
Also, I will appreciate if you update and write clear description of user scenario.
After reading of PR title I still cannot get the user scenario... 😞
In what cases the claim value will be empty?
Hope for the soonest reply from you...
5b7cf6c
to
1a9dc97
Compare
The feature branch has been rebased onto ThreeMammals:develop! @iam-black Ihor, I don't see develop branch in your fork! Your fork is too old. Could you Sync fork please? So, new develop branch will occur with all top commits! Could you add me as collaborator to your forked repo please? I will create develop branch and make it default. |
…ession implementation at compile-time. Convert to 'GeneratedRegexAttribute'
Add XML-docs for the ClaimsAuthorizer class
1a9dc97
to
094b448
Compare
AuthorizationPolicyBuilder.RequireClaim
method
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.
Ready for Code Review❕
Given the tests that have passed, I'm evaluating whether this brief continue
statement could pose a security risk. 😅
Nevertheless, further testing is necessary...
Ocelot Feature
Proposed Changes
Docs
Relevant topics