Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11792

User can list namespaces even if the user only has privilege on instance:cdap

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: Security
    • Labels:
      None
    • Rank:
      1|i0034n:

      Description

      When a user only has privileges on instance:cdap, no matter READ/WRITE/ADMIN, he is able to list all namespaces, and the entities in the namespace.

      Steps to reproduce:
      1. Have a user without any privilege to any namespace
      2. Grant the user action ADMIN on instance:cdap
      3. Wait the cache to take effect, he will be able to list namespaces and all entities in the namespace.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsinha Rohit Sinha
                Reporter:
                yaojie Yaojie Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: