mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: make OAuth2 provider not enterprise-only (#12732)
This commit is contained in:
@@ -53,7 +53,6 @@ const (
|
||||
FeatureExternalTokenEncryption FeatureName = "external_token_encryption"
|
||||
FeatureWorkspaceBatchActions FeatureName = "workspace_batch_actions"
|
||||
FeatureAccessControl FeatureName = "access_control"
|
||||
FeatureOAuth2Provider FeatureName = "oauth2_provider"
|
||||
FeatureControlSharedPorts FeatureName = "control_shared_ports"
|
||||
)
|
||||
|
||||
@@ -74,7 +73,6 @@ var FeatureNames = []FeatureName{
|
||||
FeatureExternalTokenEncryption,
|
||||
FeatureWorkspaceBatchActions,
|
||||
FeatureAccessControl,
|
||||
FeatureOAuth2Provider,
|
||||
FeatureControlSharedPorts,
|
||||
}
|
||||
|
||||
@@ -85,8 +83,6 @@ func (n FeatureName) Humanize() string {
|
||||
return "Template RBAC"
|
||||
case FeatureSCIM:
|
||||
return "SCIM"
|
||||
case FeatureOAuth2Provider:
|
||||
return "OAuth Provider"
|
||||
default:
|
||||
return strings.Title(strings.ReplaceAll(string(n), "_", " "))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user