MCPcopy Create free account
hub / github.com/rilldata/rill / ResolvedSecurity

Struct ResolvedSecurity

runtime/security.go:157–162  ·  view source on GitHub ↗

ResolvedSecurity represents the resolved security rules for a given claims against a specific resource.

Source from the content-addressed store, hash-verified

155
156// ResolvedSecurity represents the resolved security rules for a given claims against a specific resource.
157type ResolvedSecurity struct {
158 access *bool
159 fieldAccess map[string]bool
160 rowFilter string
161 queryFilter *runtimev1.Expression
162}
163
164// CanAccess returns whether the resource can be accessed.
165func (r *ResolvedSecurity) CanAccess() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected