View source
<?php
function feature_variables_user_default_permissions() {
$permissions = array();
$permissions['access all views'] = array(
'name' => 'access all views',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'views',
);
$permissions['access all webform results'] = array(
'name' => 'access all webform results',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['access comments'] = array(
'name' => 'access comments',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'comment',
);
$permissions['access content'] = array(
'name' => 'access content',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'node',
);
$permissions['access content overview'] = array(
'name' => 'access content overview',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['access contextual links'] = array(
'name' => 'access contextual links',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'contextual',
);
$permissions['access own webform results'] = array(
'name' => 'access own webform results',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['access own webform submissions'] = array(
'name' => 'access own webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['access user profiles'] = array(
'name' => 'access user profiles',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['administer addtoany'] = array(
'name' => 'administer addtoany',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'addtoany',
);
$permissions['administer block classes'] = array(
'name' => 'administer block classes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'block_class',
);
$permissions['administer blocks'] = array(
'name' => 'administer blocks',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'block',
);
$permissions['administer comments'] = array(
'name' => 'administer comments',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'comment',
);
$permissions['administer content types'] = array(
'name' => 'administer content types',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['administer contexts'] = array(
'name' => 'administer contexts',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'context_ui',
);
$permissions['administer custom breadcrumbs'] = array(
'name' => 'administer custom breadcrumbs',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'custom_breadcrumbs',
);
$permissions['administer features'] = array(
'name' => 'administer features',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'features',
);
$permissions['administer filters'] = array(
'name' => 'administer filters',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'filter',
);
$permissions['administer image styles'] = array(
'name' => 'administer image styles',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'image',
);
$permissions['administer isotope'] = array(
'name' => 'administer isotope',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'views_isotope',
);
$permissions['administer menu'] = array(
'name' => 'administer menu',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'menu',
);
$permissions['administer nodes'] = array(
'name' => 'administer nodes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['administer owlcarousel settings'] = array(
'name' => 'administer owlcarousel settings',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'owlcarousel_ui',
);
$permissions['administer pathauto'] = array(
'name' => 'administer pathauto',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'pathauto',
);
$permissions['administer permissions'] = array(
'name' => 'administer permissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['administer responsive menus'] = array(
'name' => 'administer responsive menus',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'responsive_menus',
);
$permissions['administer search'] = array(
'name' => 'administer search',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'search',
);
$permissions['administer taxonomy'] = array(
'name' => 'administer taxonomy',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'taxonomy',
);
$permissions['administer url aliases'] = array(
'name' => 'administer url aliases',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'path',
);
$permissions['administer users'] = array(
'name' => 'administer users',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['administer views'] = array(
'name' => 'administer views',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'views',
);
$permissions['block IP addresses'] = array(
'name' => 'block IP addresses',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'system',
);
$permissions['bypass node access'] = array(
'name' => 'bypass node access',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['cancel account'] = array(
'name' => 'cancel account',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['change own username'] = array(
'name' => 'change own username',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['context ajax block access'] = array(
'name' => 'context ajax block access',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'context_ui',
);
$permissions['create article content'] = array(
'name' => 'create article content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create blog content'] = array(
'name' => 'create blog content',
'roles' => array(),
'module' => 'node',
);
$permissions['create client content'] = array(
'name' => 'create client content',
'roles' => array(),
'module' => 'node',
);
$permissions['create features content'] = array(
'name' => 'create features content',
'roles' => array(),
'module' => 'node',
);
$permissions['create main_slider content'] = array(
'name' => 'create main_slider content',
'roles' => array(),
'module' => 'node',
);
$permissions['create page content'] = array(
'name' => 'create page content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['create portfolio content'] = array(
'name' => 'create portfolio content',
'roles' => array(),
'module' => 'node',
);
$permissions['create team content'] = array(
'name' => 'create team content',
'roles' => array(),
'module' => 'node',
);
$permissions['create testimonials content'] = array(
'name' => 'create testimonials content',
'roles' => array(),
'module' => 'node',
);
$permissions['create url aliases'] = array(
'name' => 'create url aliases',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'path',
);
$permissions['create webform content'] = array(
'name' => 'create webform content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete all webform submissions'] = array(
'name' => 'delete all webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['delete any article content'] = array(
'name' => 'delete any article content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any blog content'] = array(
'name' => 'delete any blog content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete any client content'] = array(
'name' => 'delete any client content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete any features content'] = array(
'name' => 'delete any features content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete any main_slider content'] = array(
'name' => 'delete any main_slider content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete any page content'] = array(
'name' => 'delete any page content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete any portfolio content'] = array(
'name' => 'delete any portfolio content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete any team content'] = array(
'name' => 'delete any team content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete any testimonials content'] = array(
'name' => 'delete any testimonials content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete any webform content'] = array(
'name' => 'delete any webform content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own article content'] = array(
'name' => 'delete own article content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own blog content'] = array(
'name' => 'delete own blog content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own client content'] = array(
'name' => 'delete own client content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own features content'] = array(
'name' => 'delete own features content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own main_slider content'] = array(
'name' => 'delete own main_slider content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own page content'] = array(
'name' => 'delete own page content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete own portfolio content'] = array(
'name' => 'delete own portfolio content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own team content'] = array(
'name' => 'delete own team content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own testimonials content'] = array(
'name' => 'delete own testimonials content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own webform content'] = array(
'name' => 'delete own webform content',
'roles' => array(),
'module' => 'node',
);
$permissions['delete own webform submissions'] = array(
'name' => 'delete own webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['delete revisions'] = array(
'name' => 'delete revisions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['delete terms in portfolio'] = array(
'name' => 'delete terms in portfolio',
'roles' => array(),
'module' => 'taxonomy',
);
$permissions['delete terms in profession'] = array(
'name' => 'delete terms in profession',
'roles' => array(),
'module' => 'taxonomy',
);
$permissions['delete terms in tags'] = array(
'name' => 'delete terms in tags',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'taxonomy',
);
$permissions['edit all webform submissions'] = array(
'name' => 'edit all webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['edit any article content'] = array(
'name' => 'edit any article content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any blog content'] = array(
'name' => 'edit any blog content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit any client content'] = array(
'name' => 'edit any client content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit any features content'] = array(
'name' => 'edit any features content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit any main_slider content'] = array(
'name' => 'edit any main_slider content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit any page content'] = array(
'name' => 'edit any page content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit any portfolio content'] = array(
'name' => 'edit any portfolio content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit any team content'] = array(
'name' => 'edit any team content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit any testimonials content'] = array(
'name' => 'edit any testimonials content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit any webform content'] = array(
'name' => 'edit any webform content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own article content'] = array(
'name' => 'edit own article content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit own blog content'] = array(
'name' => 'edit own blog content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own client content'] = array(
'name' => 'edit own client content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own comments'] = array(
'name' => 'edit own comments',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'comment',
);
$permissions['edit own features content'] = array(
'name' => 'edit own features content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own main_slider content'] = array(
'name' => 'edit own main_slider content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own page content'] = array(
'name' => 'edit own page content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['edit own portfolio content'] = array(
'name' => 'edit own portfolio content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own team content'] = array(
'name' => 'edit own team content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own testimonials content'] = array(
'name' => 'edit own testimonials content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own webform content'] = array(
'name' => 'edit own webform content',
'roles' => array(),
'module' => 'node',
);
$permissions['edit own webform submissions'] = array(
'name' => 'edit own webform submissions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['edit terms in portfolio'] = array(
'name' => 'edit terms in portfolio',
'roles' => array(),
'module' => 'taxonomy',
);
$permissions['edit terms in profession'] = array(
'name' => 'edit terms in profession',
'roles' => array(),
'module' => 'taxonomy',
);
$permissions['edit terms in tags'] = array(
'name' => 'edit terms in tags',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'taxonomy',
);
$permissions['edit webform components'] = array(
'name' => 'edit webform components',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'webform',
);
$permissions['export nodes'] = array(
'name' => 'export nodes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node_export',
);
$permissions['export own nodes'] = array(
'name' => 'export own nodes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node_export',
);
$permissions['generate features'] = array(
'name' => 'generate features',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'features',
);
$permissions['manage features'] = array(
'name' => 'manage features',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'features',
);
$permissions['notify of path changes'] = array(
'name' => 'notify of path changes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'pathauto',
);
$permissions['post comments'] = array(
'name' => 'post comments',
'roles' => array(
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'authenticated user' => 'authenticated user',
),
'module' => 'comment',
);
$permissions['rename features'] = array(
'name' => 'rename features',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'features',
);
$permissions['revert revisions'] = array(
'name' => 'revert revisions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['search content'] = array(
'name' => 'search content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'search',
);
$permissions['select account cancellation method'] = array(
'name' => 'select account cancellation method',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'user',
);
$permissions['skip comment approval'] = array(
'name' => 'skip comment approval',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'comment',
);
$permissions['use PHP to import nodes'] = array(
'name' => 'use PHP to import nodes',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node_export',
);
$permissions['use advanced search'] = array(
'name' => 'use advanced search',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'search',
);
$permissions['use ctools import'] = array(
'name' => 'use ctools import',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'ctools',
);
$permissions['use php in custom breadcrumbs'] = array(
'name' => 'use php in custom breadcrumbs',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'custom_breadcrumbs',
);
$permissions['use text format filtered_html'] = array(
'name' => 'use text format filtered_html',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'filter',
);
$permissions['use text format full_html'] = array(
'name' => 'use text format full_html',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'filter',
);
$permissions['view own unpublished content'] = array(
'name' => 'view own unpublished content',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
$permissions['view revisions'] = array(
'name' => 'view revisions',
'roles' => array(
'administrator' => 'administrator',
),
'module' => 'node',
);
return $permissions;
}