Skip to content

[DRAFT] Restrict Working Files to assigned Artists - #1326

Closed
ukyovfx wants to merge 20 commits into
cgwire:mainfrom
ukyovfx:codex/zou-working-auth-current-main-20261030
Closed

ukyovfx wants to merge 20 commits into
cgwire:mainfrom
ukyovfx:codex/zou-working-auth-current-main-20261030

Conversation

@ukyovfx

@ukyovfx ukyovfx commented Oct 29, 2026

Copy link
Copy Markdown

Status\n\nDraft implementation candidate for review. This changes the proposed Zou Working File authorization contract; it is not accepted or deployed.\n\n## Changes\n\n- Require an assigned Artist for WorkingFile revision creation, binary upload, metadata edits, comments, modification-date updates, and path generation.\n- Allow reads to assigned Artists, assigned Supervisors, project Managers, and Administrators; deny Clients, Vendors, and unassigned Artists.\n- Require task or manager-scoped entity filters for generic WorkingFile listing; disable generic WorkingFile creation.\n- Reject person_id spoofing, avoid implicit Task assignment, and validate entity/task pairing to prevent cross-task IDOR.\n- Update consolidated OpenAPI descriptions and add route-level role and scope regression cases.\n\n## Verification\n\n- Ruff on modified Python files: PASS.\n- Python syntax compilation on four modified files: PASS.\n- Git diff whitespace check: PASS.\n- Full Flask route/database tests: NOT RUN locally. The test harness resets its configured database; this environment has neither project dependencies nor a disposable PostgreSQL test database.\n- Browser, Kitsu, and Production verification: NOT RUN.\n\nOwner approval of the proposed authorization policy, successful CI, and independent review are required before merge or deployment.

@ukyovfx

ukyovfx commented Oct 29, 2026

Copy link
Copy Markdown
Author

Withdrawn by the author. This implementation is no longer being pursued upstream.

@ukyovfx ukyovfx closed this Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant