title: Lightswitch HTML Client - Disabling/Hiding a button based on permissions
body: <p>This is my scenario. I have a switch (Yes/No) that approves something and I only the user(s) with the permission to be able to ammend this value, so if the user doesnt have access i want it to simply be hidden or disabled, and vice versa... </p>
  
  <p>Under the Access Control tab i have added a permission called ApprovedSwitch (this name for testing purposes), where do i write the code and roughly how do i disable this switch, not the whole screen. im using Visual Studio Lightswitch HTML Client (2013) Update 2, and the C#/JS interface</p>
  
  <p>thanks for any help</p>