# Component Security - Show Componenent (NOT Hide)

**URL:** <https://forum.inductiveautomation.com/t/component-security-show-componenent-not-hide/8600>\
**Category:** Ignition\
**Created:** [June 22, 2014, 7:27am UTC](https://forum.inductiveautomation.com/t/component-security-show-componenent-not-hide/8600 "2014-06-22T07:27:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjcorbin](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tjcorbin](https://forum.inductiveautomation.com/u/tjcorbin)\
**Post date:** [June 22, 2014, 7:27am UTC](https://forum.inductiveautomation.com/t/component-security-show-componenent-not-hide/8600/1 "2014-06-22T07:27:33Z")

</div>

Hi,

Is there an easy way to make a component visible when it is NOT meeting configured security roles - It is easy to ‘hide’ a component, but the standard security options do not offer a ‘show’.

This is probably easy but I cannot see a simple way as yet.

Thanks in advance.

Tim

---

<div class="post-metadata">

**Author:** ![tjcorbin](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tjcorbin](https://forum.inductiveautomation.com/u/tjcorbin)\
**Post date:** [June 23, 2014, 12:05am UTC](https://forum.inductiveautomation.com/t/component-security-show-componenent-not-hide/8600/2 "2014-06-23T00:05:54Z")

</div>

OK,

so I have implemented a work around - I added an empty label which is hidden when there is insufficient permission. Then bound the visible property of my component to the visible property of the label, inverted.

Must be a tidier way … ?

Going on - I am displaying an image ‘icon’ within a template which is a simple black image. When insufficient permissions are available the image is greyed - I cannot see why - I wish it to remain black.

Tim

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 23, 2014, 1:52pm UTC](https://forum.inductiveautomation.com/t/component-security-show-componenent-not-hide/8600/3 "2014-06-23T13:52:33Z")

</div>

Hey Tim,

You can place a '!" (the 'not ’ operator) in front of your expression:

```auto
!(whatever_expression_to_make_it_visible_or_not)
```

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 23, 2014, 2:01pm UTC](https://forum.inductiveautomation.com/t/component-security-show-componenent-not-hide/8600/4 "2014-06-23T14:01:02Z")

</div>

> [@tjcorbin](#):
>
> Going on - I am displaying an image 'icon' within a template which is a simple black image. When insufficient permissions are available the image is greyed - I cannot see why - I wish it to remain black.

Whoops! Missed that one... 😊

Try binding the "Disabled Image Path" property to the "Image Path" property. I think that should give you what you're looking for. Chances are that it's disabled until the permissions are met.

---

<div class="post-metadata">

**Author:** ![tjcorbin](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tjcorbin](https://forum.inductiveautomation.com/u/tjcorbin)\
**Post date:** [June 23, 2014, 8:24pm UTC](https://forum.inductiveautomation.com/t/component-security-show-componenent-not-hide/8600/5 "2014-06-23T20:24:51Z")

</div>

Yes, making the disabled image path match the image path fixed it.

(Newbie at this, so didn’t spot the disabled image property)

Thanks

Tim
