Revert "feat: header based acls (#337)"

This reverts commit f0d2da281a.
This commit is contained in:
Stavros
2025-09-03 12:01:33 +03:00
committed by GitHub
parent f0d2da281a
commit c9817e7feb
10 changed files with 51 additions and 355 deletions

View File

@@ -123,53 +123,53 @@ type RedirectQuery struct {
RedirectURI string `url:"redirect_uri"`
}
// App config
// Labels
type AppConfigs struct {
Apps map[string]App
type Labels struct {
Apps map[string]AppLabels
}
type App struct {
Config AppConfig
Users AppUsers
OAuth AppOAuth
IP AppIP
Response AppResponse
Path AppPath
type AppLabels struct {
Config ConfigLabels
Users UsersLabels
OAuth OAuthLabels
IP IPLabels
Response ResponseLabels
Path PathLabels
}
type AppConfig struct {
type ConfigLabels struct {
Domain string
}
type AppUsers struct {
type UsersLabels struct {
Allow string
Block string
}
type AppOAuth struct {
type OAuthLabels struct {
Whitelist string
Groups string
}
type AppIP struct {
type IPLabels struct {
Allow []string
Block []string
Bypass []string
}
type AppResponse struct {
type ResponseLabels struct {
Headers []string
BasicAuth AppBasicAuth
BasicAuth BasicAuthLabels
}
type AppBasicAuth struct {
type BasicAuthLabels struct {
Username string
Password string
PasswordFile string
}
type AppPath struct {
type PathLabels struct {
Allow string
Block string
}