Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1947

Leverage Current Roles to speed up requests for privileges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Sentry
    • None

    Description

      Right now when roles a re set current, we do nothing to optimize requesting for privileges. We basically get all roles, and then use the intersection to further filter the roles. After which we get privileges.
      There should be a better approach to this. We should simply use those current roles, and return privileges for them. We don't even need to check if the current roles belong to the user-groups because that is something that should've been checked earlier when making roles current

      Attachments

        Activity

          People

            arjunmishra13 Arjun Mishra
            arjunmishra13 Arjun Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: