# One-shot buttons and security?

**URL:** <https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895>\
**Category:** Ignition\
**Created:** [January 21, 2012, 12:58am UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895 "2012-01-21T00:58:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott\_rister](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@scott\_rister](https://forum.inductiveautomation.com/u/scott_rister)\
**Post date:** [January 21, 2012, 12:58am UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895/1 "2012-01-21T00:58:30Z")

</div>

i am having a problem with my one-shot buttons and disabling them with my security parameters. My one shots are set up to be disabled unless the operator is logged in as one of two roles. However they are not disabled. When i first bring up the displays i can sometimes see them come up as disabled but then they get refreshed and become enabled. I am using the same security scheme everywhere and it works on everything else, buttons, data entry fields, etc. It even works if i select “hide and disable” as opposed to just “disable”.  
Is this something i am doing wrong or a known problem?  
I am running ver. 7.3.2.

Thanks, Scott

---

<div class="post-metadata">

**Author:** ![Michael.Stofan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.stofan/32/3342_2.png) [@Michael.Stofan](https://forum.inductiveautomation.com/u/Michael.Stofan)\
**Post date:** [January 24, 2012, 11:05pm UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895/2 "2012-01-24T23:05:52Z")

</div>

I’ve been able to replicate similarly odd behavior with the one-shot button. I’ll create a bug ticket for it and we’ll get it fixed up. Thanks for reporting that, good catch!

---

<div class="post-metadata">

**Author:** ![scott\_rister](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@scott\_rister](https://forum.inductiveautomation.com/u/scott_rister)\
**Post date:** [November 1, 2012, 2:01am UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895/3 "2012-11-01T02:01:15Z")

</div>

was just working with one-shots in a new applicaton and it would appear this issue has not been resolved. This time not disabling through security but with the enable property.  
the one-shot does not get disabled when the enable property is not set, even if i just uncheck the enable box and do not bind the property to anything.

Version 7.5.3

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [November 1, 2012, 4:20pm UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895/4 "2012-11-01T16:20:43Z")

</div>

Using 7.5.3 I was not able to reproduce this here. I tested this with binding the button directly to a boolean tag, and also with an action performed scipt.

If you would like, we could do a gotomeeting to see whats going on. I think this would be the best route to take without being able to recreate it here.

---

<div class="post-metadata">

**Author:** ![scott\_rister](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@scott\_rister](https://forum.inductiveautomation.com/u/scott_rister)\
**Post date:** [November 1, 2012, 4:48pm UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895/5 "2012-11-01T16:48:06Z")

</div>

Are you looking at this in the designer or actually launching it in a project? on mine it works when in the designer but does not when running the project.  
I have since replaced the one-shot with a regular button and works fine.  
Am out of the office today but may have time to look at this tomorrow with you.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [November 1, 2012, 6:38pm UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895/6 "2012-11-01T18:38:29Z")

</div>

Okay, that little bit of added information is what did it. I was able to recreate the problem and I will be adding a ticket into the system to have this fixed.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [November 14, 2012, 9:31pm UTC](https://forum.inductiveautomation.com/t/one-shot-buttons-and-security/3895/7 "2012-11-14T21:31:05Z")

</div>

Thanks for the bug report. This is fixed for 7.5.5
