Skip to content

Centralize the definition of the (System) user. #11607

Description

@rjsparks

The System user (pk=1, name "(System)") is assumed across the code as a mix of queries and constant expressions. Centralize the assumption into one or more system settings so it sits in one place. See #11607.

Task

  • Replace scattered (System)-user queries/constants with a centralized setting

Agent-assisted triage

  • Suggested priority: minor
  • Suggested lane: standard
  • Updated with agent assistance on 2026-08-21

Original report

The code currently has the idea that the System user has pk=1 and name "(System)" captured as a mix of queries and constant expressions.
Even though we never expect this to change, it should become one or more system settings so the assumption sits in one place.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions