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

Revoke should not wait for the cache to take effect

    Details

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

      Description

      Revoke actions on entities will wait for the cache to take effect, this should happen immediately.

      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.
      4. Revoke the action on instance:cdap
      5. It will take several minutes to let revoke take effect due to the cache. And user will not be able to list namespaces

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yaojie Yaojie Feng
                Reporter:
                yaojie Yaojie Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: