Referencing App Privileges and Global Variables in Code

Francis:
Can any app model keys be referenced from any pages? app.privs ← Using this as HAM privs. Do I have to have this in model?


Delfs:
yep. app is global


Delfs:
For HAM add to app eg:
app.ham.canDoTheThing


Delfs:
then later in code
v-if="app.ham.canDoTheThing " shows the thing etc

or vis calcs too


Francis:
Got it!