If you make $sfUser a property of the sfAction class it could be shared with the template.

```php
class JobsExportAction extends DefaultBrowseAction
{
  public function execute($request)
  {
    $this->user = sfContext::getInstance()->user;
    [...]
  }
  [...]
}
```

```php
<?php if ($user->isAdministrator()): ?>
  [...]
<?php endif; ?>
```