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

Entity deletion does not delete role for the entity

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0, 4.0.0, 3.6.0, 3.5.0
    • Fix Version/s: 4.2.0
    • Component/s: Security
    • Labels:
    • Release Notes:
      Fixed an issue due to which cdap entity roles were not cleanup on entity deletion.
    • Rank:
      1|hzzy0v:

      Description

      On an authorization enabled cdap instance with sentry integration when an entity is created cdap creates a role, adds the user creating the entity to the role and then grants all privileges to the role on the entity.

      When an entity is deleted cdap drops all the privileges for the entity but does not delete the role which it created during creation time

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: