Open asrasya-kosha opened 1 month ago
Thank you for the PR! Please note that the development process mandates the inclusion of both unit and acceptance tests for every new feature and bug fix. New features should be accompanied by tests that cover the new functionality. Additionally, merely fixing existing tests does not suffice to warrant approval of the PR.
@raman-m reviewing it right now...
@ggnaegi reviewed on Aug 8
Thanks for code review! But you know I will return to feature PRs after v23.3 Hotfixes release. Also this PR has a lot of fake changes probably because of line endings problem so it's hard to read real changes.
Thank you for the PR! Please note that the development process mandates the inclusion of both unit and acceptance tests for every new feature and bug fix. New features should be accompanied by tests that cover the new functionality. Additionally, merely fixing existing tests does not suffice to warrant approval of the PR.
@raman-m I'll add acceptance tests and new unit tests (I thought I added them but I'll have a look once again) this weekend and update the PR. The line ending changes are perhaps a GitHub issue? because I don't see them in rider when I do sa side by side compare. Thanks
@asrasya-kosha Please work on code review issues. Also, we have to add at least one acceptance test.
@asrasya-kosha commented on Aug 20, 2024
The line ending changes are perhaps a GitHub issue?
The changes in line endings are not due to GitHub; rather, they are caused by your IDE. GitHub simply identifies the different line endings and highlights those lines.
because I don't see them in Rider when I do so side by side compare.
We have Visual Studio IDE settings for line endings here: .editorconfig#L19-L21 (common settings), *.{cs,vb} (C# CRLF ending). However, there is no settings file for Rider IDE. The main issue is the .gitattributes file for Git, which means our settings do not override EOL and commits are made as-is (both CRLF for Windows and LF for Linux). Local/global Git settings may sometimes override EOL in this file. Since you're using Rider IDE, ensure that your Git environment does not override EOL (a mixed mode is preferred).
Closes #746
746
Proposed Changes
RouteClaimsRequirement
s to accept multiple values for a single keyClaimsAuthorizer
to validate with any of the given values for a key for a static claimClaimsAuthorizer
for dynamic claims to only accept the first value for a given keyNote : The proposed changed will only work for static claims. There shouldn't be any effect on the dynamic claims.