mirror of
https://github.com/rancher/types.git
synced 2025-08-31 21:00:16 +00:00
allow gets on individual principals
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user