Uploaded image for project: 'PUBLIC - OAuth2'
  1. PUBLIC - OAuth2
  2. OAUTH2-272

Incorrect scope count when assigning global scopes

    Details

    • Type: Regression Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Master, 7.2.x
    • Fix Version/s: Master, 7.2.x
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Navigate to Control Panel > System Settings > OAuth 2 > Bundle PrefixHandlerFactory and delete the Default configuration entry to make global scopes available
      2. Navigate to Control Panel > OAuth2 Administration > any OAuth 2 application > Scopes section
      3. Navigate to the Global scopes tab and click on one of the scope checkboxes and save
      4. On the resource tab, count the number of scopes that were automatically checked by the global scope
      5. Navigate back to the OAuth2 Applications landing page with the table of applications

      Actual result: The "Scopes" count in the table for the application is less than the actual number of scopes checked.

      Note:
      Checking the resource scopes directly instead of through the global scopes would result in a correct scope count in the table.

      Reproduced on:
      Portal master Git SHA: 8f2832c096e210ce968b73c338f76fb4065cc335

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master
                  7.2.x