# Admin auth for deploy button

**URL:** <https://discourse.nodered.org/t/admin-auth-for-deploy-button/30162>\
**Category:** General\
**Created:** [16 July 2020 03:43 UTC](https://discourse.nodered.org/t/admin-auth-for-deploy-button/30162 "2020-07-16T03:43:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanya](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tanya](https://discourse.nodered.org/u/tanya)\
**Post date:** [16 July 2020 03:43 UTC](https://discourse.nodered.org/t/admin-auth-for-deploy-button/30162/1 "2020-07-16T03:43:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![reshmadev](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@reshmadev](https://discourse.nodered.org/u/reshmadev)\
**Post date:** [17 July 2020 18:56 UTC](https://discourse.nodered.org/t/admin-auth-for-deploy-button/30162/2 "2020-07-17T18:56:13Z")

</div>

hello Tanya,  
Try to download node-red from [https://github.com/node-red/node-red/tree/a6ef755139613a7261372c692189f21115b2d0c6](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](https://github.com/node-red/node-red/blob/a6ef755139613a7261372c692189f21115b2d0c6/editor/js/ui/deploy.js)  
then do npm run build to run your latest code.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 September 2020 18:56 UTC](https://discourse.nodered.org/t/admin-auth-for-deploy-button/30162/3 "2020-09-15T18:56:20Z")

</div>

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