mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-11 14:03:22 +08:00
Isolate scheduled tasks by empNo, aligned with uds-auth workspaces.
Super/fallback admins see all jobs grouped by user folder; admin/user only see their own. Stamp ownership on create, filter HTTP/tools, and prefer the owner's provisioned cwd on fire. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0ffc48b43a
commit
7d27179e51
12 changed files with 785 additions and 141 deletions
|
|
@ -12,6 +12,11 @@ import {
|
|||
resolveCreateOrigin,
|
||||
} from './delivery.js'
|
||||
import { resolveCreateAgentPreset } from './preset.js'
|
||||
import {
|
||||
assertCanAccessJob,
|
||||
filterJobsForIdentity,
|
||||
UNASSIGNED_OWNER,
|
||||
} from './ownership.js'
|
||||
|
||||
const JOB_SCHEMA = {
|
||||
type: 'object',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue