reseted old features as in prod
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
function materio_publications_field_default_field_bases() {
|
||||
$field_bases = array();
|
||||
|
||||
// Exported field_base: 'field_couverture'.
|
||||
// Exported field_base: 'field_couverture'
|
||||
$field_bases['field_couverture'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
@@ -39,7 +39,7 @@ function materio_publications_field_default_field_bases() {
|
||||
'type' => 'image',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_weight'.
|
||||
// Exported field_base: 'field_weight'
|
||||
$field_bases['field_weight'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
|
@@ -10,7 +10,7 @@
|
||||
function materio_publications_field_default_field_instances() {
|
||||
$field_instances = array();
|
||||
|
||||
// Exported field_instance: 'node-publication-body'.
|
||||
// Exported field_instance: 'node-publication-body'
|
||||
$field_instances['node-publication-body'] = array(
|
||||
'bundle' => 'publication',
|
||||
'default_value' => NULL,
|
||||
@@ -91,7 +91,7 @@ function materio_publications_field_default_field_instances() {
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-publication-field_couverture'.
|
||||
// Exported field_instance: 'node-publication-field_couverture'
|
||||
$field_instances['node-publication-field_couverture'] = array(
|
||||
'bundle' => 'publication',
|
||||
'deleted' => 0,
|
||||
@@ -182,7 +182,7 @@ function materio_publications_field_default_field_instances() {
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-publication-field_weight'.
|
||||
// Exported field_instance: 'node-publication-field_weight'
|
||||
$field_instances['node-publication-field_weight'] = array(
|
||||
'bundle' => 'publication',
|
||||
'default_value' => NULL,
|
||||
|
@@ -10,9 +10,39 @@
|
||||
function materio_publications_user_default_roles() {
|
||||
$roles = array();
|
||||
|
||||
// Exported role: Translator.
|
||||
$roles['Translator'] = array(
|
||||
'name' => 'Translator',
|
||||
// Exported role: Contact opérationnel.
|
||||
$roles['Contact opérationnel'] = array(
|
||||
'name' => 'Contact opérationnel',
|
||||
'weight' => 7,
|
||||
);
|
||||
|
||||
// Exported role: Student.
|
||||
$roles['Student'] = array(
|
||||
'name' => 'Student',
|
||||
'weight' => 4,
|
||||
);
|
||||
|
||||
// Exported role: Unverified.
|
||||
$roles['Unverified'] = array(
|
||||
'name' => 'Unverified',
|
||||
'weight' => 2,
|
||||
);
|
||||
|
||||
// Exported role: Utilisateur Alpha Tester.
|
||||
$roles['Utilisateur Alpha Tester'] = array(
|
||||
'name' => 'Utilisateur Alpha Tester',
|
||||
'weight' => 4,
|
||||
);
|
||||
|
||||
// Exported role: administrator.
|
||||
$roles['administrator'] = array(
|
||||
'name' => 'administrator',
|
||||
'weight' => 8,
|
||||
);
|
||||
|
||||
// Exported role: root.
|
||||
$roles['root'] = array(
|
||||
'name' => 'root',
|
||||
'weight' => 9,
|
||||
);
|
||||
|
||||
|
@@ -22,11 +22,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Showroom'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
@@ -77,11 +72,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['(creation)']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé'] = array();
|
||||
$workflows['Publication']['Importé']['administrator'] = array(
|
||||
'grant_view' => 1,
|
||||
@@ -93,11 +83,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Showroom'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
@@ -148,11 +133,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Importé']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité'] = array();
|
||||
$workflows['Publication']['Édité']['Student'] = array(
|
||||
'grant_view' => 1,
|
||||
@@ -179,11 +159,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Showroom'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
@@ -219,11 +194,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Édité']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué'] = array();
|
||||
$workflows['Publication']['Masqué']['Utilisateur Alpha Tester'] = array(
|
||||
'grant_view' => 1,
|
||||
@@ -240,11 +210,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Showroom'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 1,
|
||||
@@ -290,11 +255,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Masqué']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié'] = array();
|
||||
$workflows['Publication']['Publié']['utilisateur anonyme'] = array(
|
||||
'grant_view' => 1,
|
||||
@@ -341,11 +301,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Translator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['administrator'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 1,
|
||||
@@ -356,11 +311,6 @@ function materio_publications_workflow_access_features_default_settings() {
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 1,
|
||||
);
|
||||
$workflows['Publication']['Publié']['Showroom'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 1,
|
||||
'grant_delete' => 0,
|
||||
);
|
||||
$workflows['Publication']['Publié']['workflow_features_author_name'] = array(
|
||||
'grant_view' => 0,
|
||||
'grant_update' => 1,
|
||||
|
@@ -6,11 +6,8 @@ dependencies[] = features
|
||||
dependencies[] = image
|
||||
dependencies[] = list
|
||||
dependencies[] = materio_content_types
|
||||
dependencies[] = materio_page_title
|
||||
dependencies[] = metatag
|
||||
dependencies[] = node
|
||||
dependencies[] = options
|
||||
dependencies[] = showroom
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = text
|
||||
dependencies[] = workflow_access
|
||||
@@ -29,7 +26,12 @@ features[user_permission][] = delete own publication content
|
||||
features[user_permission][] = edit any publication content
|
||||
features[user_permission][] = edit own publication content
|
||||
features[user_permission][] = show publication title
|
||||
features[user_role][] = Translator
|
||||
features[user_role][] = Contact opérationnel
|
||||
features[user_role][] = Student
|
||||
features[user_role][] = Unverified
|
||||
features[user_role][] = Utilisateur Alpha Tester
|
||||
features[user_role][] = administrator
|
||||
features[user_role][] = root
|
||||
features[user_role][] = utilisateur anonyme
|
||||
features[user_role][] = utilisateur authentifié
|
||||
features[variable][] = additional_settings__active_tab_publication
|
||||
@@ -65,10 +67,6 @@ features[variable][] = workflow_publication
|
||||
features[workflow][] = Publication
|
||||
features[workflow_access][] = Publication
|
||||
features_exclude[dependencies][materio_subscriptions] = materio_subscriptions
|
||||
features_exclude[user_role][Unverified] = Unverified
|
||||
features_exclude[user_role][Student] = Student
|
||||
features_exclude[user_role][Utilisateur Alpha Tester] = Utilisateur Alpha Tester
|
||||
features_exclude[user_role][Contact opérationnel] = Contact opérationnel
|
||||
features_exclude[user_role][administrator] = administrator
|
||||
features_exclude[user_role][root] = root
|
||||
features_exclude[dependencies][options] = options
|
||||
features_exclude[dependencies][materio_page_title] = materio_page_title
|
||||
project path = sites/all/modules/features
|
||||
|
Reference in New Issue
Block a user