From 8846f09e3c51b9e8560496ae9ee8eb7cebee9c96 Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Tue, 17 Sep 2019 16:04:14 +0200 Subject: [PATCH] (#29) set action_policy as default authorizer --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 451d19e..ea87f18 100644 --- a/config.go +++ b/config.go @@ -43,7 +43,7 @@ type Config struct { RPCAudit bool `confkey:"rpcaudit" default:"false"` RPCAuditProvider string `confkey:"rpcauditprovider" type:"title_string"` RPCAuthorization bool `confkey:"rpcauthorization" default:"false"` - RPCAuthorizationProvider string `confkey:"rpcauthprovider" type:"title_string"` + RPCAuthorizationProvider string `confkey:"rpcauthprovider" type:"title_string" default:"action_policy"` RPCLimitMethod string `confkey:"rpclimitmethod" default:"first" validate:"enum=first,random"` LoggerType string `confkey:"logger_type" default:"file"` FactCacheTime int `confkey:"fact_cache_time" default:"300"`