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

Interface AuthorizeFilter

coderd/rbac/authz.go:687–689  ·  view source on GitHub ↗

AuthorizeFilter is a compiled partial query that can be converted to SQL. This allows enforcing the policy on the database side in a WHERE clause.

Source from the content-addressed store, hash-verified

685// AuthorizeFilter is a compiled partial query that can be converted to SQL.
686// This allows enforcing the policy on the database side in a WHERE clause.
687type AuthorizeFilter interface {
688 SQLString() string
689}
690
691type authorizedSQLFilter struct {
692 sqlString string

Callers 2

CompileToSQLMethod · 0.65
CompileFunction · 0.65

Implementers 14

authorizedSQLFiltercoderd/rbac/authz.go
ACLMappingVarcoderd/rbac/regosql/acl_mapping_var.go
AstBooleancoderd/rbac/regosql/sqltypes/bool.go
AstNumbercoderd/rbac/regosql/sqltypes/number.go
invalidNodecoderd/rbac/regosql/sqltypes/node.go
ASTArraycoderd/rbac/regosql/sqltypes/array.go
AstStringcoderd/rbac/regosql/sqltypes/string.go
memberOfcoderd/rbac/regosql/sqltypes/member.go
equalitycoderd/rbac/regosql/sqltypes/equality.
astParenthesiscoderd/rbac/regosql/sqltypes/parens.go
astStringVarcoderd/rbac/regosql/sqltypes/variable.
alwaysFalsecoderd/rbac/regosql/sqltypes/always_fa

Calls

no outgoing calls

Tested by

no test coverage detected