1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- /**
- * @file
- * admin.features.workflow_access.inc
- */
- /**
- * Implements hook_workflow_access_features_default_settings().
- */
- function admin_workflow_access_features_default_settings() {
- $workflows = array();
- $workflows['Affichage'] = array();
- $workflows['Affichage']['Masqué'] = array();
- $workflows['Affichage']['Masqué']['administrator'] = array(
- 'grant_view' => 1,
- 'grant_update' => 1,
- 'grant_delete' => 1,
- );
- $workflows['Affichage']['Masqué']['root'] = array(
- 'grant_view' => 1,
- 'grant_update' => 1,
- 'grant_delete' => 1,
- );
- $workflows['Affichage']['Masqué']['anonymous user'] = array(
- 'grant_view' => 0,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- );
- $workflows['Affichage']['Masqué']['authenticated user'] = array(
- 'grant_view' => 0,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- );
- $workflows['Affichage']['Masqué']['workflow_features_author_name'] = array(
- 'grant_view' => 0,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- );
- $workflows['Affichage']['Affiché'] = array();
- $workflows['Affichage']['Affiché']['anonymous user'] = array(
- 'grant_view' => 1,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- );
- $workflows['Affichage']['Affiché']['authenticated user'] = array(
- 'grant_view' => 1,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- );
- $workflows['Affichage']['Affiché']['administrator'] = array(
- 'grant_view' => 0,
- 'grant_update' => 1,
- 'grant_delete' => 1,
- );
- $workflows['Affichage']['Affiché']['root'] = array(
- 'grant_view' => 0,
- 'grant_update' => 1,
- 'grant_delete' => 1,
- );
- $workflows['Affichage']['Affiché']['workflow_features_author_name'] = array(
- 'grant_view' => 0,
- 'grant_update' => 0,
- 'grant_delete' => 0,
- );
- return $workflows;
- }
|