We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32ef3f0 commit 143c285Copy full SHA for 143c285
config/config.go
@@ -58,6 +58,7 @@ type Hasura struct {
58
EnableAggregations bool `yaml:"allow_aggregation"`
59
Source *HasuraSource `yaml:"source"`
60
Rest *bool `yaml:"rest"`
61
+ UnauthorizedRole string `yaml:"unauthorized_role"`
62
}
63
64
type HasuraSource struct {
@@ -75,6 +76,8 @@ func (h *Hasura) UnmarshalYAML(unmarshal func(interface{}) error) error {
75
76
IsolationLevel: "read-committed",
77
78
79
+ h.UnauthorizedRole = "user"
80
+
81
type plain Hasura
82
return unmarshal((*plain)(h))
83
0 commit comments