Apply navigation lock to logged in users, not just on login

Created on 1 July 2025, 3 months ago

Problem/Motivation

The Legal module currently only locks people to view the Ts & Cs on login. It would be a nice feature to ensure they also get redirected if they already have an active session.

Steps to reproduce

1. Log in as an existing user who will need to sign ts & cs
2. As an admin in another session, create new terms & conditions
2. The existing user does not get redirected to the ts & cs

Proposed resolution

1. Create a service to encompass the logic as to whether somebody has signed the latest ts & cs, to be used in the event subscriber
2.

Remaining tasks

Out of scope for this... move all module functions into separate services, so we are not using module functions within this service.

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom littlepixiez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024