tagname tag">/if</span><span class="tag">&gt;</span></div></pre><p>Alternatively, there is a modifier, <code>permission:</code> which checks the <code>.permissions</code> value. Here's the equivalent check to the above code, written with the modifier:</p>
<pre class="moya-console format-xml"><a name="line1"></a><div class="line line-1"></span><span class="tag">&lt;</span><span class="tag tagname">if</span><span class="tag tagcontent">&nbsp;test=</span><span class="attrib tag tagcontent">"permission:'admin'"