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

Use permissions from api, not constants, to populate edit permissions form

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.4, crc-2023-01-10
    • None
    • UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required

      When editing role permissions in the UI, the form gets populated by sections and permissions for the user to chose.
      Currently, that data comes from src/constants.tsx.

      But since AAH-1714, the API /me endpoint serves the same information from the API.

      So, we should be using that API, instead of hardcoding a list of permissions, categories and translated permission names in the UI.

              semighdo@redhat.com Shaiah Emigh-Doyle
              mhradil-1 Martin Hradil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: