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

Method ResolveTransitiveAccess

runtime/controller.go:66–66  ·  view source on GitHub ↗

ResolveTransitiveAccess resolves transitive access rules for the resource of this type. For example, for a report resource, this determines all the resources needed to access the report like the underlying metrics view, explore, etc. and adds the corresponding security rules to the list of rules to

(ctx context.Context, claims *SecurityClaims, res *runtimev1.Resource)

Source from the content-addressed store, hash-verified

64 // For example, for a report resource, this determines all the resources needed to access the report like the underlying metrics view, explore, etc. and adds the corresponding security rules to the list of rules to be applied.
65 // And use the underlying query to determine the fields that are accessible in the report and where clause that needs to be applied.
66 ResolveTransitiveAccess(ctx context.Context, claims *SecurityClaims, res *runtimev1.Resource) ([]*runtimev1.SecurityRule, error)
67}
68
69// ReconcileResult propagates results from a reconciler invocation

Callers 1

Implementers 14

ModelReconcilerruntime/reconcilers/model.go
APIReconcilerruntime/reconcilers/api.go
ThemeReconcilerruntime/reconcilers/theme.go
SourceReconcilerruntime/reconcilers/source.go
ComponentReconcilerruntime/reconcilers/component.go
ConnectorReconcilerruntime/reconcilers/connector.go
AlertReconcilerruntime/reconcilers/alert.go
ExploreReconcilerruntime/reconcilers/explore.go
MigrationReconcilerruntime/reconcilers/migration.go
ProjectParserReconcilerruntime/reconcilers/project_parser.go
MetricsViewReconcilerruntime/reconcilers/metrics_view.go
RefreshTriggerReconcilerruntime/reconcilers/refresh_trigger.go

Calls

no outgoing calls

Tested by

no test coverage detected