$context
$context : array
Assign a permission to a template variable.
This template tag is available by default under the name aperm. Example of usage:
{aperm 'can_drive', $user, 'MyApp.can_drive'}
{aperm 'can_drive_big_car', $user, 'MyApp.can_drive', $bigcar}
{if $can_drive}Can drive!{/if}