 the user to the login page.</p>
<p>Here's how you might do a permission check in a view:</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">forbidden</span><span class="tag tagcontent">&nbsp;if=</span><span class="attrib tag tagcontent">"not&nbsp;permission:'admin'"</span><span class="endtagname tag">/</span><span class="tag">&gt;</span></div></pre><p>Because this is such a common pattern, the <a class="tag" hr