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

Function AllowAllTarget

codersdk/allowlist.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func AllowAllTarget() APIAllowListTarget {
22 return APIAllowListTarget{Type: ResourceWildcard, ID: policy.WildcardSymbol}
23}
24
25func AllowTypeTarget(r RBACResource) APIAllowListTarget {
26 return APIAllowListTarget{Type: r, ID: policy.WildcardSymbol}

Callers 1

Calls

no outgoing calls

Tested by 1