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

All users have permission to spawn Jupyter notebooks when groups in rhods-groups-config setting is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • RHODS_1.1_GA
    • RHODS_1.1_GA
    • Security
    • 2
    • False
    • False
    • None
    • No
    • 1.1.1
    • No
    • Undefined
    • No
    • Yes
    • None
    • MODH Sprint 28

      Description of problem:

      All users have permission to spawn Jupiter notebooks when groups in rhods-groups-config setting is empty

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

      ODS 1.0.13

      Steps to Reproduce

      1. Create a configmap with the next configuration
      2. kind: ConfigMap
        apiVersion: v1
        metadata:
        name: rhods-groups-config
        namespace: redhat-ods-applications
        labels:
        app: jupyterhub
        opendatahub.io/modified: 'true'
        data:
        admin_groups: ''
        allowed_groups: ''
      3. oc apply -f <configmap_name>

      Actual results:

      All users can spawn a Jupiter notebook

      Expected results:

      none user can spawn Jupiter notebook

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info:

        1. image-2021-05-31-13-56-46-451.png
          263 kB
          Pablo Felix
        2. Screenshot from 2021-05-31 13-37-35.png
          263 kB
          Pablo Felix
        3. Screenshot from 2021-05-31 13-37-35-1.png
          263 kB
          Pablo Felix

              vpavlin@redhat.com Vaclav Pavlin (Inactive)
              pablo-rhods Pablo Felix (Inactive)
              Berto D'Attoma Berto D'Attoma
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: