Site Alert Banner
1. What does this feature do? (High-Level Overview)
Section titled “1. What does this feature do? (High-Level Overview)”The Site Alert Banner lets authorized administrators publish a visible message on the login page for all users. It is used to communicate urgent operational updates such as login disruptions, outages, or high-impact incidents.
2. Who is this for? (Roles & Permissions)
Section titled “2. Who is this for? (Roles & Permissions)”- Superadmin: Can access and update the Site Alert Banner configuration in Admin View.
- Admin: Can access and update the Site Alert Banner configuration in Admin View.
- Custom administrative roles with
use_admin_tools: Can access and update this feature when the permission is granted.
Required Permission: use_admin_tools
3. Business Rules & Enforcements
Section titled “3. Business Rules & Enforcements”- Rule 1: The administration endpoints for this feature are protected by the permission
use_admin_tools. - Rule 2: Banner visibility on login depends on both conditions being true:
is_enabled = trueandmessageis not empty after trimming. - Rule 3: Allowed alert levels are strictly limited to
info,warning, anddanger. - Rule 4: Message length is limited to 2000 characters.
4. UI Placement
Section titled “4. UI Placement”- Admin View > Settings > Site Alert Banner (
/settings/site-alert-banner) — Configuration screen to enable/disable the banner, select alert level, and edit message text. - Login page (
/login) — Banner appears above the login form when enabled and message content is present.
5. How-To Guide (Step-by-Step)
Section titled “5. How-To Guide (Step-by-Step)”Scenario A: Publish a login issue notice
- Log in with an account that has
use_admin_tools. - Open Settings in Admin View.
- Click Site Alert Banner.
- Turn on Show on login.
- Select the alert level (
WarningorDangerfor service-impact events). - Enter the message users should see on the login screen.
- Click Save changes.
- Confirm the success message and validate the banner on the login page.
Scenario B: Turn off the banner after incident resolution
- Return to Settings > Site Alert Banner.
- Disable Show on login.
- Click Save changes.
- Verify the login page no longer shows the banner.
6. What happens if…? (Edge Cases / FAQ)
Section titled “6. What happens if…? (Edge Cases / FAQ)”-
Q: What happens if the banner is enabled but the message is blank?
- A: The banner is not shown on the login page. The app requires both enabled status and non-empty message content.
-
Q: Are HTML messages allowed?
- A: Basic HTML is supported for formatting, but teams should validate their exact allowed markup in their environment before relying on advanced formatting.