()
| 131 | } |
| 132 | |
| 133 | func (q *querier) Wrappers() []string { |
| 134 | return append(q.db.Wrappers(), wrapname) |
| 135 | } |
| 136 | |
| 137 | // authorizeContext is a helper function to authorize an action on an object. |
| 138 | func (q *querier) authorizeContext(ctx context.Context, action policy.Action, object rbac.Objecter) error { |