Skip to content

Feature/gateway#233

Merged
DMurf merged 45 commits intomainfrom
feature/gateway
Apr 2, 2026
Merged

Feature/gateway#233
DMurf merged 45 commits intomainfrom
feature/gateway

Conversation

@DMurf
Copy link
Copy Markdown
Collaborator

@DMurf DMurf commented Mar 13, 2026

Description

This feature will implement a control on the use of the Schools Profile website, ensuring that a finite number of users can "register" and have a look around.
The registration process is simply a capture of email, with a parameter in the URL for which local authority they were referred from. This is to help with user research and understand what the service can provide for the public.

Once registered, users will receive an email with a link to return at a later date, but no longer than 7 days. The 7 day limit is enforced from a KeyVault value and can be changed.

The emails are stored in postgres, as are the Local Auths. There is also an instant kill-switch in the settings sql table should there be a need to close the application.

On every page load the gateway middleware checks for a cookie that matches a user's id, and if expired will direct them to the appropriate page.

Type of change

Please delete options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Previous tests pass
  • New tests added
  • Tests by BA and dev (me)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@DMurf DMurf added deploy A Review App will be created for PRs with this label refresh data The data pipeline will run as part of this deployment. labels Mar 13, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Code Coverage Report: Only Changed Files listed

Package Coverage
Overall Coverage 🟢 59.84%

Minimum allowed coverage is 0%, this run produced 59.84%

@DMurf DMurf merged commit 9cd446c into main Apr 2, 2026
9 checks passed
@DMurf DMurf deployed to review April 2, 2026 16:49 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy A Review App will be created for PRs with this label refresh data The data pipeline will run as part of this deployment.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants