MCPcopy Index your code
hub / github.com/coder/coder / ConfigWorkspaces

Function ConfigWorkspaces

coderd/rbac/authz.go:724–728  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

722}
723
724func ConfigWorkspaces() regosql.ConvertConfig {
725 return regosql.ConvertConfig{
726 VariableConverter: regosql.WorkspaceConverter(),
727 }
728}
729
730func Compile(cfg regosql.ConvertConfig, pa *PartialAuthorizer) (AuthorizeFilter, error) {
731 root, err := regosql.ConvertRegoAst(cfg, pa.partialQueries)

Calls 1

WorkspaceConverterFunction · 0.92

Tested by

no test coverage detected