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

Users with Edit permissions cannot create a model server runtime in a shared project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • RHODS_1.28.0_GA
    • RHODS_1.27.0_GA
    • UI
    • False
    • None
    • False
    • Testable
    • No
    • 1.28.0
    • No
    • Hide
      == Users with "Edit" permission could not create a Model Server
      Users with "Edit" permissions can now create a Model Server without token authorization. Users must have "Admin" permissions to create a Model Server with token authorization.
      Show
      == Users with "Edit" permission could not create a Model Server Users with "Edit" permissions can now create a Model Server without token authorization. Users must have "Admin" permissions to create a Model Server with token authorization.
    • Bug Fix
    • Done
    • No
    • Yes
    • None
    • RHODS 1.28
    • High

      Description of problem:

      Users with "Edit" permissions on a shared project are not able to create a serving runtime, like they can create other resources like workbenches, storage and data connections.

      There is nothing in the UI suggesting user they cannot perform the action before starting doing it

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

      Steps to Reproduce

      1. Create a Data Science Project myprojectA with user A
      2. grant "Edit" permissions on "myprojectA" to user B
      3. check user B can access the DS project "myprojectA"
      4. click "Configure server" button
      5. insert the required information in the form
      6. click "Configure" button

      Actual results:

      Error pops out saying the operations is not allowed

      Expected results:

      either one of:

      • operation is performed successful
      • user cannot click on "Configure server" button if the operation is actually not allowed

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      RHODS v1.27.0

      Workaround:

      • to ask DS project owner or another user with Admin permissions on the project to configure the Runtime (may not be acceptable depending on the user's organization/company)
      • to assign Admin permissions to the user who needs to configure the runtime (don't think it's generally acceptable in real-world scenarios)

      Additional info:

            lferrnan@redhat.com Lucas Fernandez Aragon
            rhn-support-bdattoma Berto D'Attoma
            Berto D'Attoma Berto D'Attoma
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: