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

Revoke actions on one role affects other roles.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: Security
    • Labels:
      None
    • Release Notes:
      Fixed a bug due to which revoking privileges from one role were affecting other roles.
    • Rank:
      1|hzzvuv:

      Description

      When revoking an action on an entity from a role, seems all related roles are affected.
      Steps to reproduce:
      1. grant actions ADMIN on entity instance:cdap to user user1
      2. grant actions ADMIN on entity instance:cdap to user user2
      3. revoke actions ADMIN on entity instance:cdap from role .instance:cdap.u.user1
      4. list privileges for role .instance:cdap.u.user2

      You can see this command returns an empty list and user2 also does not have ADMIN privilege on instance:cdap

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: