Skip to content

Treat a REMS network failure as holding no licences #57

Closed

Description

@johnf

Parent

#52

What to build

When REMS can't be reached (the request throws, rather than returning an error response), the licence check logs the failure and treats the user as holding no licences, the same as an error response today. This is the outage option arocapi documents. The user sees the restricted entity as Denied with its enrolment link instead of a 500.

Ships on the one #52 branch and PR, as its own commit. See #52 for the decisions behind it.

Acceptance criteria

  • With REMS unreachable, a signed-in user's request for an entity under a restricted licence is Denied with the enrolment link, not a 500
  • The failure is logged
  • Entities under open licences are unaffected
  • Tested through the licence check's existing tests

Blocked by

None (can start immediately)

Activity

  1. johnf commented on Nov 4, 2026

    @johnf
    CollaboratorAuthor

    Implemented in #63; all acceptance criteria met.

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

    ready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions