Skip to content

Fix alert showing for unlimited schedules limit

Payton Burdette requested to merge 442625-fix-schedules-alert into master

What does this MR do and why?

Bug fix for alert showing for unlimited pipeline schedules limit.

The alert should only show when a user has access, does not have unlimited schedules and the limit has been reached.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No access (guest user/reporter)

Screenshot 2024-02-23 at 11.45.20 AM.png

Unlimited schedules

Screenshot 2024-02-23 at 11.45.56 AM.png

Limit reached

Screenshot 2024-02-23 at 11.44.42 AM.png

How to set up and validate locally

  1. Change planLimit in the query response to 0 , null and x
  2. Test the different use-cases in Build > Pipeline schedules

Related to #442625 (closed)

Merge request reports