-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi. Thank you for your great golang library for athenz authorization.
I'm trying to use authorization-proxy as sidecar.
Currently, when entering methods in mappingRules, it appears that only a single method is supported for each rule. To input multiple methods for resource mapping, separate rules must be created for each.
Is there any plan to support the acceptance of methods as * or any? If allowed, it would enable more flexible use of rules.
Also, It seems that description for WithTranslator option is necessary.
Current option
{
"method": "get",
"action": "get",
"path": "/path/to/resource",
"resource": "path.resource"
}Wanted
{
"method": "*", # or ANY or GET|PUT|POST
"action": "*",
"path": "/path/to/resource",
"resource": "path.resource"
}Thank you.
Metadata
Metadata
Assignees
Labels
No labels