About AuthorityRuleChecker.The PassCheck() method implementation problem
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
Type: *bug report*
### Describe what happened (or what feature you want)
This class is primarily used to determine the match of the context rules corresponding to the resource.Why do I need to repeat the validation with indexOf() and EQUALS methods?
### Anything else we need to know?
com.alibaba.csp.sentinel.slots.block.authority.AuthorityRuleChecker
Contributor guide
Research direction
Start by reading com.alibaba.csp.sentinel.slots.block.authority.AuthorityRuleChecker, especially the PassCheck() method and its use of indexOf() and EQUALS. Determine what duplicate validation the report refers to and document the expected matching behavior before deciding what a completed fix would require.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authorization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100