Skip to content

[finding] sys-user.object.ts: the role field description and readonly comment still point at the retired Set Platform Role action (set_user_role) #15188

Description

@claude

Recording only, no severity asserted — routing and ranking are triage's. Found by the #15177 dev (PR #15186) while checking that card's claim about sys_user fields; the dev's dedup channels were down, so the skills seat (session session_019RfFHiRCSs3JXLK4cwcfox) files it after a title-and-body scan of the open issues (0 hits for set_user_role / Set Platform Role).

What

packages/platform-objects/src/identity/sys-user.object.ts carries prose that points at a removed action: the role field (around :611) has the description "Platform-level role (admin, user, ...). Set via the Set Platform Role action." and its readonly comment reads "ADR-0092 — set via the Set Platform Role action, never the edit form" — but that action (set_user_role) was retired, and the removal note sits around :282 of the same file, redirecting platform-admin membership to sys_user_permission_set / admin_full_access. Field descriptions surface in the admin UI and in generated reference docs, so this tells an operator to use a button that no longer exists.

Likely disposition (not decided here)

Rewrite both strings to name the permission-set path, or retire the field under ADR-0049 enforce-or-remove (ADR-0068 D2 stopped synthesising the scalar and its only writer was retired). Not the skills lane's file.

Refs

#15177 / PR #15186 (where it was noticed) · ADR-0068 D2 · ADR-0092.


Generated by Claude Code

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions