function views_plugin_access_perm::access

Overrides views_plugin_access::access

File

plugins/views_plugin_access_perm.inc, line 18

Class

views_plugin_access_perm
Access plugin that provides permission-based access control.

Code

public function access($account) {
    return views_check_perm($this->options['perm'], $account);
}