Skip to content

Commit e6696cc

Browse files
committed
Add comment
1 parent 5de395a commit e6696cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/rbac/regosql/configs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ func TemplateConverter() *sqltypes.VariableConverter {
77
matcher := sqltypes.NewVariableConverter().RegisterMatcher(
88
// Basic strings
99
sqltypes.StringVarMatcher("organization_id :: text", []string{"input", "object", "org_owner"}),
10+
// Templates have no user owner, only owner by an organization.
1011
sqltypes.AlwaysFalse(sqltypes.StringVarMatcher("owner_id :: text", []string{"input", "object", "owner"})),
1112
)
1213
matcher.RegisterMatcher(

0 commit comments

Comments
 (0)