Replace blanket owner/admin role check in UpdateAgent and DeleteAgent with canManageAgent, which requires the requesting user to be the agent's owner (or a workspace owner/admin) for private agents. |
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| migrations | ||
| pkg | ||
| go.mod | ||
| go.sum | ||
| sqlc.yaml | ||