Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-82087

Label suggestion cache may cause rate limiting when updating due to complex browse permissions

XMLWordPrintable

      Issue Summary

      Label suggestion cache assists in storing the suggestions when a user has to use or filter labels. This cache is refreshed periodically and also validates permission the user has to the issues using the labels.

      While refreshing the cache for the label suggestions it is possible that a rate limit is applied if the refresh of the cache fails to validate the permissions due to a complex permission setting such as reporter or group picker field.

      Steps to Reproduce

      1. Create a restrictive permission scheme based on reporter and on a select group field
      2. Associate with a project
      3. Create some labels on issues restricted from users
      4. Use those labels until they should appear as suggestions
      5. Wait for a refresh of the suggestions cache

      Expected Results

      It should work without high db costs.

      Actual Results

      429 errors are being thrown preventing the users from using the system properly.

      Workaround

      No workaround at the moment

              87999cee8e58 Alexandre Furtado
              0a4d3986ddf5 Marcelo Beloni (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: