Early exit when maintenance mode is enabled and users have the permission to access the site in maintenance mode, or when the redirect URL has not been set

Created on 15 June 2024, 5 months ago
Updated 2 July 2024, 5 months ago

The last steps the code takes before redirecting users is checking whether maintenance mode is enabled, the logged in user has the permission to access the site in maintenance mode, and the redirect URL has been set.

The code should instead:

  • If the redirect URL has not been set, exit immediately
  • If maintenance mode is enabled and the logged in user has the access site in maintenance mode permission, exit immediately

Then, the code should verify the other conditions are met.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024