Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8346

3scale operator creates token without policy registry scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 2.12.0
    • 3scale Operator
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

    Description

      During automation for THREESCALE-7932 I've found that 3scale Operator creates only RO access token with scope only for accounts:

      {
         "access_token": {
          "id": 319,
          "name": "OIDC Synchronization Token",
          "scopes": [
           "account_management"  <-----------
          ],
          "permission": "ro" <---------------
         }
        },
      

      Users cannot use it(tenantSecretRef) for obvious reasons in any Capabilities CRD for creating objects in 3scale.
      There is workaround to access UI or API by admin password(passwordCredentialsRef) to create RW token with wider scope.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkudlej@redhat.com Martin Kudlej
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: