Currently, our ability to moderate / manage agents is fairly anemic. We want to make sure our users have the ability to create agents, but from there our ideal workflow would be:
1. an end-user can share it with a small team (<5?)
2. They decide to share it. They select the intended audience, which then prompts them to get approval from a moderator.
3. The moderator for their group / department is notified to approve the share if their permissions are scoped to do so. (eg, department-level moderators can approve shares to a department, IT moderators can approve for whole company, etc.)
4. The agent is then shared.
To support this we'd love the following API changes/additions:
- The ability to see what shares exist for an agent via the API
- The ability to modify shares for an agent via the API
- The ability to see requested share targets via the API
- The ability to set agent moderator based on groups / push groups, rather than individually
Bonus points if we can have the "i'd like to share an agent" trigger an external webhook (eg, Jira).