big update for home v2

This commit is contained in:
Bachir Soussi Chiadmi
2015-06-03 17:02:24 +02:00
parent 49004d7fee
commit 3ffbc09c10
26 changed files with 4210 additions and 1461 deletions

View File

@@ -54,6 +54,12 @@ function materio_publications_field_default_field_instances() {
'type' => 'text_default',
'weight' => 1,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
@@ -131,6 +137,12 @@ function materio_publications_field_default_field_instances() {
'type' => 'image',
'weight' => 2,
),
'homeblock' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),

View File

@@ -28,6 +28,12 @@ function materio_publications_user_default_roles() {
'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',

View File

@@ -52,17 +52,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Adhérent'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Premium'] = array(
$workflows['Publication']['(creation)']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['(creation)']['Contact opérationnel'] = array(
$workflows['Publication']['(creation)']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
@@ -108,17 +113,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Adhérent'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Premium'] = array(
$workflows['Publication']['Importé']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Importé']['Contact opérationnel'] = array(
$workflows['Publication']['Importé']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
@@ -174,12 +184,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Édité']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Édité']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué'] = array();
$workflows['Publication']['Masqué']['Utilisateur Alpha Tester'] = array(
'grant_view' => 1,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué']['administrator'] = array(
'grant_view' => 1,
'grant_update' => 1,
@@ -225,12 +245,12 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué']['Premium'] = array(
$workflows['Publication']['Masqué']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Masqué']['Contact opérationnel'] = array(
$workflows['Publication']['Masqué']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
@@ -261,17 +281,22 @@ function materio_publications_workflow_access_features_default_settings() {
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Utilisateur Alpha Tester'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Adhérent'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Premium'] = array(
$workflows['Publication']['Publié']['Contact opérationnel'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
);
$workflows['Publication']['Publié']['Contact opérationnel'] = array(
$workflows['Publication']['Publié']['Premium'] = array(
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,

View File

@@ -3,7 +3,10 @@ core = 7.x
package = Materio
dependencies[] = ctools
dependencies[] = features
dependencies[] = image
dependencies[] = materio_content_types
dependencies[] = materio_page_title
dependencies[] = materio_subscriptions
dependencies[] = metatag
dependencies[] = node
dependencies[] = strongarm
@@ -24,6 +27,7 @@ features[user_permission][] = show publication title
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