Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-10130

AzureGraphUserGroupProvider fails with nested groups

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.3
    • 1.19.0
    • Security
    • None
    • Azure AD

    Description

      Using the AzureGraphUserGroupProvider fails if one of the groups in the AzureAD has another group as "members".

      Error is:

      Caused by: java.lang.NullPointerException: null

              at org.apache.nifi.authorization.azure.AzureGraphUserGroupProvider.getUsersFrom(AzureGraphUserGroupProvider.java:383)

      The function "getUsersFrom" needs to check if a "user" is actually another group and get its users from there... 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sjyang18 Seokwon Yang
            leinad Daniel Scheiner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Time Spent - 0.5h Remaining Estimate - 47.5h
                47.5h
                Logged:
                Time Spent - 0.5h Remaining Estimate - 47.5h
                0.5h

                Slack

                  Issue deployment