Phase 11, part 3: approvals for what agents send out
Agents can now ask to publish or schedule a post, send an email, add someone to a mailing list, or apply an SEO change. Each waits on the Approvals page (with a count in the sidebar) for an admin or a member with edit on its module, who can edit it first, approve or refuse it, and let the agent take that class of action on its own with a cap per day. A rotation after a leak revokes the old keys and withdraws everything allowed. All of it is in the audit log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
</form>
|
||||
<nav class="nav" aria-label="Main">
|
||||
<a href="/" {{if eq .Nav "home"}}aria-current="page"{{end}}>{{template "icon" "overview"}}<span>Overview</span></a>
|
||||
<a href="/approvals" {{if eq .Nav "approvals"}}aria-current="page"{{end}}>{{template "icon" "ai"}}<span>Approvals</span>{{with .Approvals}} <span class="count-badge" title="{{.}} waiting for you">{{.}}</span>{{end}}</a>
|
||||
{{if .Can "market"}}<a href="/market" {{if eq .Nav "inventory"}}aria-current="page"{{end}}>{{template "icon" "inventory"}}<span>Market</span></a>{{end}}
|
||||
|
||||
{{if .Modules}}<div class="nav-label">Modules</div>{{end}}
|
||||
|
||||
Reference in New Issue
Block a user