{% requirePermission %}

This tag will ensure that the current user is logged in with an account that has a given permission.

{% requirePermission "spendTheNight" %}

<h1>Slumber Party</h1>

The user can have the permission either directly or through one of their user groups. If they don’t have it, a 403 (Forbidden) error will be served.

See the Users page for a list of available permissions.