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, 12 days ago
Updated 18 June 2024, 9 days 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.69.0 2024