Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1695

Add permission for Sync from registry button in Remote Registries

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • False
    • Hide

      None

      Show
      None
    • False

      Problem Description: Syncing Remote Registry throws a permission error in UI.

      Reproduce:
      1. create a test user without permissions
      2. go to `/ui/registries`
      3. click on`Sync from registry`

      Proposed Solution:

      • Hide the `Sync from registry` button when the user doesn't have permission.
      • Display the button when the user has permission (`Change remote registry` permission).

      In Remote Repo management (`/ui/repositories?tab=remote`), the kebab with syncing is hidden correctly when a user doesn't have permission. It should be unified all over the app.

              semighdo@redhat.com Shaiah Emigh-Doyle
              jjerabek@redhat.com Jiri Jerabek
              Henderson Hummel Henderson Hummel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: