Team LBAC: Able to configure default rule (#77946)

Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
This commit is contained in:
Alexander Zobnin 2023-11-10 13:31:37 +01:00 committed by GitHub
parent 6b4337a842
commit 944593c4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,8 @@ type TeamHTTPHeader struct {
Value string `json:"value"`
}
const DefaultTeamHTTPHeader = "default"
func (ds DataSource) TeamHTTPHeaders() (TeamHTTPHeaders, error) {
return GetTeamHTTPHeaders(ds.JsonData)
}