Support Questions

Find answers, ask questions, and share your expertise
Announcements
We’ve updated our product names and community labels - click here for full details

Nifi: How to revoke the import and export Templates operations for the users.

avatar
Contributor

Hi Team,

We are using NIfi 1.26 in the Dev/Prod and we would like to get rid of using the Nifi template usage instead we are intend to use Flow definitions. However the users are still using the import and export method. Is there a way to disable the operations of import and export templates for all the users. 

1 ACCEPTED SOLUTION

avatar
Master Mentor

@rajivswe_2k7 

Any user that has "modify the component" access granted to them on a process group will be able to upload a template via that process group.   Users with that same authorization will also be able to use "add template" to add the uploaded template to the NiFi canvas within the authorized process group.   There is no method built into Apache NiFi 1.x to disable templates or block user authorized as described above from being able to upload or add templates to canvas.  

It may make sense in some situations to upload a template to NiFi and then add it to the canvas so that it can be downloaded in the new flow definition format (Some template will require modification before they can be downloaded as a flow definition). 

 

Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@rajivswe_2k7 

Any user that has "modify the component" access granted to them on a process group will be able to upload a template via that process group.   Users with that same authorization will also be able to use "add template" to add the uploaded template to the NiFi canvas within the authorized process group.   There is no method built into Apache NiFi 1.x to disable templates or block user authorized as described above from being able to upload or add templates to canvas.  

It may make sense in some situations to upload a template to NiFi and then add it to the canvas so that it can be downloaded in the new flow definition format (Some template will require modification before they can be downloaded as a flow definition). 

 

Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

avatar
Contributor

Thank you @mat .