Support Questions

Find answers, ask questions, and share your expertise

NiFi privilege - Allow modify but not operate component

avatar
Rising Star

97491-screenshot-2018-12-31-at-103459.png

97492-screenshot-2018-12-31-at-103516.png

Hello

I'm trying to create NiFi user to modify the component but can't operate it. This is needed to segregate the duties where someone will create and components and another one will run them. I tried the current privileges but when I set the "Modify component" privilege. The user is able to operate as well even if I removed the "Operate" Privilege

can you help ?

Screenshots for test user

1 ACCEPTED SOLUTION

avatar

I do not believe there is a way to configure this with NiFi access controls. The way that NiFi permissions are set up, "operate" is a subset of "modify" -- you can have "operate" without "modify" but not "modify" without "operate". This is because the state of the processor (running/stopped) is considered configuration data and set via an API call.

View solution in original post

4 REPLIES 4

avatar

I do not believe there is a way to configure this with NiFi access controls. The way that NiFi permissions are set up, "operate" is a subset of "modify" -- you can have "operate" without "modify" but not "modify" without "operate". This is because the state of the processor (running/stopped) is considered configuration data and set via an API call.

avatar
Rising Star

Thanks a lot Andy, is there any way to achieve this ?

avatar

You could submit a feature request to the NiFi project, but based on the way this is currently implemented, I would not expect this change to be made in a 1.x version. NiFi is designed for immediate feedback and an iterative development cycle, so the use case of allowing a specific user to modify the configuration of a component without being allowed to operate it has not been addressed, as it was considered unrealistic.

avatar
Rising Star

Thanks a lot. Jira submitted