mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Disable ldap providers
This commit is contained in:
@@ -367,7 +367,7 @@ func authnTypes(schemas *types.Schemas) *types.Schemas {
|
||||
},
|
||||
}
|
||||
schema.CollectionMethods = []string{}
|
||||
schema.ResourceMethods = []string{http.MethodGet, http.MethodPut}
|
||||
schema.ResourceMethods = []string{}
|
||||
}).
|
||||
MustImport(&Version, v3.OpenLdapTestAndApplyInput{}).
|
||||
// FreeIpa Config
|
||||
@@ -380,7 +380,7 @@ func authnTypes(schemas *types.Schemas) *types.Schemas {
|
||||
},
|
||||
}
|
||||
schema.CollectionMethods = []string{}
|
||||
schema.ResourceMethods = []string{http.MethodGet, http.MethodPut}
|
||||
schema.ResourceMethods = []string{}
|
||||
schema.MustCustomizeField("groupObjectClass", func(f types.Field) types.Field {
|
||||
f.Default = "groupofnames"
|
||||
return f
|
||||
|
Reference in New Issue
Block a user