Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-12933

User with 'Edit' permissions has a 'Delete' option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • RHODS_2.4.0_GA
    • UI
    • None
    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None

      Description of problem:

      When adding an Edit permission to a regular user (not in any Admin groups) in a shared DS project, that user has the 'Delete' option available in UI. Although pressing on the Delete button returns a proper error message that it is not permitted.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      Create new DS project and share it with a non-admin user, that has no RHODS permissions.

      (The user groups can be configured in OCP console).

       

      Actual results:

      ldap-user1 is a regular user:

      The user has 'Edit' Permissions on a DS project:

       

       

      After login with that user to the Dashboard, we can see that the 'Delete' option is available:

       

       

      Expected results:

      Although when trying to 'Delete project' it returns a proper error message (no permissions), the avalability of the 'Delete project' button is confusing, and should be hidden.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      RHODS 2.4

      Workaround:

      Additional info:

            aballantyne Andrew Ballantyne
            nmanos@redhat.com Noam Manos
            Noam Manos Noam Manos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: