added front by role
This commit is contained in:
@@ -29,6 +29,15 @@ function materio_administration_user_default_permissions() {
|
||||
'module' => 'workflow_views',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer front page'.
|
||||
$permissions['administer front page'] = array(
|
||||
'name' => 'administer front page',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'front_page',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer workflow'.
|
||||
$permissions['administer workflow'] = array(
|
||||
'name' => 'administer workflow',
|
||||
|
@@ -8,6 +8,7 @@ dependencies[] = admin_menu_toolbar
|
||||
dependencies[] = ctools
|
||||
dependencies[] = elysia_cron
|
||||
dependencies[] = features
|
||||
dependencies[] = front_page
|
||||
dependencies[] = login_destination
|
||||
dependencies[] = logintoboggan
|
||||
dependencies[] = logintoboggan_rules
|
||||
@@ -57,6 +58,7 @@ features[menu_links][] = navigation_users:admin/people
|
||||
features[menu_links][] = navigation_users:admin/users
|
||||
features[user_permission][] = access administration menu
|
||||
features[user_permission][] = access workflow summary views
|
||||
features[user_permission][] = administer front page
|
||||
features[user_permission][] = administer workflow
|
||||
features[user_permission][] = assign Adhérent role
|
||||
features[user_permission][] = assign Contact opérationnel role
|
||||
@@ -91,6 +93,7 @@ features[variable][] = content_type_extras_title_hide_breve
|
||||
features[variable][] = content_type_extras_title_hide_company
|
||||
features[variable][] = content_type_extras_title_hide_didactique
|
||||
features[variable][] = content_type_extras_title_hide_materiau
|
||||
features[variable][] = front_page_enable
|
||||
features[variable][] = login_destination_immediate_redirect
|
||||
features[variable][] = login_destination_preserve_destination
|
||||
features[variable][] = logintoboggan_confirm_email_at_registration
|
||||
@@ -104,6 +107,7 @@ features[variable][] = logintoboggan_purge_unvalidated_user_interval
|
||||
features[variable][] = logintoboggan_redirect_on_confirm
|
||||
features[variable][] = logintoboggan_redirect_on_register
|
||||
features[variable][] = logintoboggan_unified_login
|
||||
features[variable][] = site_frontpage
|
||||
features[variable][] = title_node
|
||||
features[variable][] = title_taxonomy_term
|
||||
features[variable][] = workflow_access_priority
|
||||
|
@@ -120,6 +120,13 @@ function materio_administration_strongarm() {
|
||||
$strongarm->value = 0;
|
||||
$export['content_type_extras_title_hide_materiau'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'front_page_enable';
|
||||
$strongarm->value = 1;
|
||||
$export['front_page_enable'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@@ -208,9 +215,16 @@ function materio_administration_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'login_destination_preserve_destination';
|
||||
$strongarm->value = 1;
|
||||
$strongarm->value = 0;
|
||||
$export['login_destination_preserve_destination'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'site_frontpage';
|
||||
$strongarm->value = 'home';
|
||||
$export['site_frontpage'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
|
Reference in New Issue
Block a user