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 ae79d8a commit 01e5ddfCopy full SHA for 01e5ddf
internal/subroutine/authorization_model_generation.go
@@ -41,11 +41,13 @@ type AuthorizationModelGenerationSubroutine struct {
41
42
var modelTpl = template.Must(template.New("model").Parse(`module {{ .Name }}
43
44
+{{ if eq .Scope "Cluster" }}
45
extend type core_platform-mesh_io_account
46
relations
47
define create_{{ .Group }}_{{ .Name }}: member
48
define list_{{ .Group }}_{{ .Name }}: member
49
define watch_{{ .Group }}_{{ .Name }}: member
50
+{{ end }}
51
52
{{ if eq .Scope "Namespaced" }}
53
extend type core_namespace
0 commit comments