From b0f08514bacb920c97648680bc068a08e2796c33 Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Thu, 1 Mar 2018 13:23:33 -0700 Subject: [PATCH] allow gets on individual principals --- apis/management.cattle.io/v3/schema/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/schema/schema.go b/apis/management.cattle.io/v3/schema/schema.go index 414c6854..09fc57e9 100644 --- a/apis/management.cattle.io/v3/schema/schema.go +++ b/apis/management.cattle.io/v3/schema/schema.go @@ -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",