mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-12 17:33:16 +08:00
Add sidebar-only agentAccess lock for scheduled jobs.
Default remains allow; humans can deny agent pause/resume/retrigger/delete in the panel while tools never expose or set the field. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
4472a9c74b
commit
ad6e90f197
7 changed files with 130 additions and 11 deletions
|
|
@ -108,6 +108,7 @@ export function publicJob(job, runs = null) {
|
|||
model: job.model || '',
|
||||
reasoningEffort: job.reasoningEffort || '',
|
||||
agentPreset: job.agentPreset || '',
|
||||
agentAccess: job.agentAccess === 'deny' ? 'deny' : 'allow',
|
||||
ownerEmpNo: job.ownerEmpNo || '',
|
||||
ownerDisplayName: job.ownerDisplayName || '',
|
||||
delivery: job.delivery && job.delivery.kind === 'im'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue