mirror of
https://github.com/rancher/types.git
synced 2025-08-01 04:57:05 +00:00
allow gets on individual principals
This commit is contained in:
parent
b04b5a8fa3
commit
b0f08514ba
@ -214,7 +214,7 @@ func authnTypes(schemas *types.Schemas) *types.Schemas {
|
||||
AddMapperForType(&Version, v3.Principal{}, m.DisplayName{}).
|
||||
MustImportAndCustomize(&Version, v3.Principal{}, func(schema *types.Schema) {
|
||||
schema.CollectionMethods = []string{http.MethodGet}
|
||||
schema.ResourceMethods = []string{}
|
||||
schema.ResourceMethods = []string{http.MethodGet}
|
||||
schema.CollectionActions = map[string]types.Action{
|
||||
"search": {
|
||||
Input: "searchPrincipalsInput",
|
||||
|
Loading…
Reference in New Issue
Block a user