Skip to content

docs(frontend): the ApiClient comment still says uploads are gated by check_admin_permission #20470

Closed

Description

@mrveiss

The comment in ApiClient.ts says the upload route is gated by check_admin_permission. Since #20133 it is gated by ownership in _authorize_file_operation. Found while checking #19983's criteria.

Acceptance criteria

  • The comment names the current gate.

Activity

  1. mrveiss commented on Nov 3, 2026

    @mrveiss
    OwnerAuthor

    Checked against main at merge ae35848 (the merge train, PR #20713; member #20656).

    AC Evidence
    The comment names the current gate DELIVERED. autobot-frontend/src/utils/ApiClient.ts:279 now reads "gated by ownership in _authorize_file_operation, #20133"; _authorize_file_operation exists at autobot-backend/api/conversation_files.py:71; no check_admin_permission left in that file
  2. mrveiss commented on Nov 3, 2026

    @mrveiss
    OwnerAuthor

    Every acceptance criterion is ticked with evidence from main at merge ae35848 (the merge train, PR #20713); see the table above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions