Revert "Apply plugin route ReqAction to ds_proxy authorization (#86466)"

This reverts commit 53f94ac50d.
This commit is contained in:
Aaron Godin authored and GitHub committed 2024-05-06 14:40:32 -05:00
1 parent 41bee274fd
commit 0bc8992dfa
3 files changed
+9 -20

No files matched your search

+4
View File
@@ -204,6 +204,10 @@ type Route struct {
Body json.RawMessage `json:"body"`
}
func (r *Route) RequiresRBACAction() bool {
return r.ReqAction != ""
}
// Header describes an HTTP header that is forwarded with
// the proxied request for a plugin route
type Header struct {