mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-17 19:17:17 +02:00
remove user impersonation and service account cli (#1768)
* remove user impersonation and service account cli * update doc * remove user impersonation url query params * fix flaky test
This commit is contained in:
parent
eadd8c2482
commit
ab4a68f56f
21 changed files with 258 additions and 831 deletions
|
@ -158,9 +158,6 @@ type Options struct {
|
|||
// (sudo) access including the ability to impersonate other users' access
|
||||
Administrators []string `mapstructure:"administrators" yaml:"administrators,omitempty"`
|
||||
|
||||
// EnableUserImpersonation gives administrators the ability to impersonate other users.
|
||||
EnableUserImpersonation bool `mapstructure:"enable_user_impersonation" yaml:"enable_user_impersonation,omitempty"`
|
||||
|
||||
// AuthorizeURL is the routable destination of the authorize service's
|
||||
// gRPC endpoint. NOTE: As many load balancers do not support
|
||||
// externally routed gRPC so this may be an internal location.
|
||||
|
@ -854,9 +851,6 @@ func (o *Options) ApplySettings(settings *config.Settings) {
|
|||
if len(settings.Administrators) > 0 {
|
||||
o.Administrators = settings.Administrators
|
||||
}
|
||||
if settings.EnableUserImpersonation != nil {
|
||||
o.EnableUserImpersonation = settings.GetEnableUserImpersonation()
|
||||
}
|
||||
if settings.AuthorizeServiceUrl != nil {
|
||||
o.AuthorizeURLString = settings.GetAuthorizeServiceUrl()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue