1
0
mirror of https://github.com/rancher/types.git synced 2025-07-30 20:44:34 +00:00

Disable ldap providers

This commit is contained in:
Craig Jellick 2018-06-19 22:08:08 -07:00
parent 2064f9bf78
commit 900bcd2918

View File

@ -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