# Paintable canvas and security

**URL:** <https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687>\
**Category:** Ignition\
**Tags:** ignition79, ignition80\
**Created:** [August 13, 2020, 5:07pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687 "2020-08-13T17:07:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [August 13, 2020, 5:07pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687/1 "2020-08-13T17:07:34Z")

</div>

We are using the paintable canvas to do some vertical text, however when the user that is logged in doesn’t have the security rights for that window, ie Disable Events is checked and they are not part of the exempt roles, then the repaint event doesn’t seem to be getting called.

We’ve got other things that are using this component, this is just one of the ones that is an issue at the moment.

If I deselect inherit permissions it doesn’t seem to correct this behavior.

Edit: Ignition 8.0.13

Any ideas on how to get around this?

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [August 18, 2020, 10:52am UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687/2 "2020-08-18T10:52:49Z")

</div>

Just a little bump…

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [August 18, 2020, 12:11pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687/3 "2020-08-18T12:11:30Z")

</div>

You can’t uncheck disable events?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 18, 2020, 12:13pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687/4 "2020-08-18T12:13:15Z")

</div>

The paint event is an event, so it seems to not be a bug. Just inconvenient for your window design.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [August 18, 2020, 12:32pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687/5 "2020-08-18T12:32:24Z")

</div>

Any way to call the paint event directly to force it to paint?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 18, 2020, 1:15pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687/6 "2020-08-18T13:15:25Z")

</div>

No. It needs the graphics context, which can only come from within the native chain of method calls. You need to redesign your window so you can enable events.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [August 18, 2020, 2:38pm UTC](https://forum.inductiveautomation.com/t/paintable-canvas-and-security/37687/7 "2020-08-18T14:38:00Z")

</div>

OK thanks Phil. That was what I was afraid of.
