Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-11202

Hide bulk import navigation item when user has no permissions

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Bulk Import, UI
    • None

      Story

      As a user of RHDH, I don't want to see a bulk import sidebar item when don't have the permissions.

      Acceptance Criteria

      1. Hide the bulk import sidebar item when there is no permission

      Implementation node:

      DO NOT implement this in a generic sidebar feature to check RBAC. We have a 1.10 Feature (TODO, ref the right feature) for this.

      Inside of the bulk import plugin:

      Instead it should test if we can just render nothing (return null) if the permissions are missing when render a custom SidebarItem like "BulkImportSidebar" similar to the "NotificationsSidebar" that renders a counter.

      If this ends up with gap we can wait for 1.10.

              Unassigned Unassigned
              cjerolim Christoph Jerolimov
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: