function views_permission

cis7 views.module views_permission()
cle7 views.module views_permission()
elmsmedia7 views.module views_permission()
icor7 views.module views_permission()
meedjum_blog7 views.module views_permission()
mooc7 views.module views_permission()

Implement hook_permission().

File

sites/all/modules/ulmus/views/views.module, line 339
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_permission() {
  return array(
    'administer views' => array(
      'title' => t('Administer views'),
      'description' => t('Access the views administration pages.'),
      'restrict access' => TRUE,
    ),
    'access all views' => array(
      'title' => t('Bypass views access control'),
      'description' => t('Bypass access control when accessing views.'),
      'restrict access' => TRUE,
    ),
  );
}