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

Method RBACACL

coderd/database/types.go:99–105  ·  view source on GitHub ↗

nolint:revive

()

Source from the content-addressed store, hash-verified

97
98//nolint:revive
99func (c ChatACL) RBACACL() map[string][]policy.Action {
100 rbacACL := make(map[string][]policy.Action, len(c))
101 for id, entry := range c {
102 rbacACL[id] = entry.Permissions
103 }
104 return rbacACL
105}
106
107func (c ChatACL) Value() (driver.Value, error) {
108 if c == nil {

Callers 4

RBACObjectMethod · 0.45
RBACObjectMethod · 0.45
RBACObjectMethod · 0.45
TestWorkspaceMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestWorkspaceMethod · 0.36