Skip to content

bug(asks): a credential ask can still be recorded for a reader who cannot fill it — queue-file channel and blocked clients (follow-up to #4579) #4599

Open

Description

@vybe

Summary

Follow-up to #4579 / PR #4580. That PR makes a credential ask go to a person who can open its secret field (the primary, else the owner, else a named refusal). Review of #4580 found two remaining ways a credential ask can still be recorded for a reader who cannot fill it, plus three misleading messages. None blocked the merge; they are collected here.

Remaining gaps

  1. Queue-file channel. services/operator_queue_service/filechannel.py (_primary_addressee, after _validated_addressee(include_owned=False)) files a credential entry for the primary only when that email is on the shared roster. Otherwise the row is unaddressed, and a credential row with no reader can only be cancelled. Same state as bug(asks): a credential ask is filed for an assigned primary who cannot open the agent, and then nobody can fill it #4579, through a different door.
  2. Blocked channel client. on_workspace_roster checks account suspension and the roster, not the client block. A blocked outside client who still has a share row is recorded as the one reader, and cannot sign in to fill the field. can_open_agent (bug(asks): an ask to: approver is filed for a seated approver who cannot open the agent, and then nobody can answer it #4501) has the same gap. One is_client_blocked(email) check next to email_account_suspended, plus a test, closes it.

Wording

  1. With nobody seated and an owner who cannot open the agent, the refusal still says "Ask an admin to share with its primary person". There is no primary person.
  2. When the credential rule refuses in admin_readdress, the admin reads "Nobody can be found for the primary role on this agent … end it with a reason instead". Someone is seated; they cannot open the agent, and the remedy is to share it.
  3. A roster-lookup error is reported to the agent as role_cannot_open_agent with the "ask an admin to share" remedy. Failing closed is right; the wording misleads during an outage.

Also

Acceptance

  • A credential entry raised through the queue file is addressed by the same rule as raise_ask, or refused by name.
  • A blocked client is never recorded as the only reader of a credential ask (both on_workspace_roster and can_open_agent), with a test for each.
  • The three messages name the real cause and remedy.

Found in v1.0.5 release testing (row B2), from the reviews on #4580.

Activity

  1. added
    priority-p2
    type-bug
    theme-reliability
    status-ready
    on Nov 15, 2026
  2. webmixgamer commented on Nov 17, 2026

    @webmixgamer
    Contributor

    /claim

  3. added
    status-in-progress
    and removed
    status-ready
    on Nov 17, 2026
  4. github-actions commented on Nov 17, 2026

    @github-actions

    Claimed by @webmixgamer. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/4599-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #4599
  5. added
    complexity-medium
    on Nov 18, 2026
  6. added
    status-in-dev
    and removed
    status-in-progress
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-mediumpriority-p2status-in-devtheme-reliabilitytype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions