Releases: Ahoo-Wang/CoSec
Releases · Ahoo-Wang/CoSec
v1.16.8
What's Changed
- feat: add
InRoleConditionMatcher
by @Ahoo-Wang in #125
{
"name": "TestInRole",
"effect": "allow",
"action": "*",
"condition": {
"inRole": {
"value": "admin"
}
}
}
Full Changelog: v1.16.7...v1.16.8
v1.16.7
What's Changed
- refactor: Policy impl PermissionVerifier by @Ahoo-Wang in #123
Full Changelog: v1.16.6...v1.16.7
v1.16.6
What's Changed
- feat: add
CompositeActionMatcher
by @Ahoo-Wang in #122
{
"name": "TestComposite",
"effect": "allow",
"action": {
"composite": [
"/user/#{principal.id}/*",
{
"path": {
"method": "POST",
"pattern": [
"/user/#{principal.id}/order/*"
]
}
}
]
}
}
Full Changelog: v1.16.5...v1.16.6
v1.16.5
What's Changed
- refactor: Unified Extended Claim Type by @Ahoo-Wang in #121
Full Changelog: v1.16.4...v1.16.5
v1.16.4
What's Changed
- feat: add
AttributeValue
for CoSecPrincipal.attributes by @Ahoo-Wang in #120
Full Changelog: v1.16.3...v1.16.4
v1.16.3
What's Changed
- fix complex Action serialization by @Ahoo-Wang in #119
Full Changelog: v1.16.2...v1.16.3
v1.16.2
What's Changed
- support method for
PathActionMatcher
by @Ahoo-Wang in #118
Full Changelog: v1.16.1...v1.16.2
v1.16.1
v1.16.0
What's Changed
- refactor Schema by @Ahoo-Wang in #115
- support
GroupedRateLimiterConditionMatcher
by @Ahoo-Wang in #116
{
"groupedRateLimiter": {
"part": "request.remoteIp",
"permitsPerSecond": 10,
"expireAfterAccessSecond": 1000
}
}
Full Changelog: v1.15.4...v1.16.0
v1.15.4
What's Changed
- feat: add
RateLimiterConditionMatcher
by @Ahoo-Wang in #114
{
"condition": {
"type": "rate_limiter",
"permitsPerSecond": 10
}
}
Full Changelog: v1.15.3...v1.15.4