Admin auth for deploy button

Hi, I would like to customize the deploy button as per our project. How can I modify deploy.js?

Customized feature am looking for are:
1.To enable and disable deploy button as per our customized validations.
2.To give controls, only to our project holders.
3.To restrict who can and cannot access deploy button.
Please suggest me on this.

Thanks,
Tanya

hello Tanya,
Try to download node-red from https://github.com/node-red/node-red/tree/a6ef755139613a7261372c692189f21115b2d0c6
instead of clone you will have editor folder edit deploy.js file based on your requirement
https://github.com/node-red/node-red/blob/a6ef755139613a7261372c692189f21115b2d0c6/editor/js/ui/deploy.js
then do npm run build to run your latest code.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.