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

nifi-toolkit CLI Process Group Create command

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.4
    • Fix Version/s: 1.12.0
    • Component/s: Tools and Build
    • Labels:

      Description

      The most common approach to user/team managed authorization is through the use of unique Process Groups added to the Root Process Group. All this approach can be done by means of NiFi CLI commands, for instance:

      1. Create Process Group (NiFi UI): Team1
      2. bin/cli.sh nifi create-user username-for-team1
      3. bin/cli.sh nifi create-user-group -ugn Team1
      4. bin/cli.sh nifi update-user-group -ugn Team1 -uil dcea37eb-0172-1000-d387-83441fa6fafc
      5. bin/cli.sh nifi update-policy -gnl Team1 -poa read -por /flow .... and so on for policies.

      The only UI made step in this user/team approach is the creation of the Process Group from the root PG.

      The idea is create a new command in the CLI:

      bin/cli.sh nifi pg-create -pgn Team1

       

        Attachments

        1. nifi-cli-pg-create.png
          89 kB
          Javi Roman
        2. ui-pg-teams.png
          109 kB
          Javi Roman

          Issue Links

            Activity

              People

              • Assignee:
                javiroman Javi Roman
                Reporter:
                javiroman Javi Roman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m