nolint:revive
()
| 97 | |
| 98 | //nolint:revive |
| 99 | func (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 | |
| 107 | func (c ChatACL) Value() (driver.Value, error) { |
| 108 | if c == nil { |
no outgoing calls