updated features : created showroom_localisation field. Perms with showroom role are still failing
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
function materio_publications_user_default_roles() {
|
||||
$roles = array();
|
||||
|
||||
// Exported role: Translator.
|
||||
$roles['Translator'] = array(
|
||||
'name' => 'Translator',
|
||||
'weight' => 9,
|
||||
);
|
||||
|
||||
// Exported role: utilisateur anonyme.
|
||||
$roles['utilisateur anonyme'] = array(
|
||||
'name' => 'utilisateur anonyme',
|
||||
|
@@ -22,6 +22,11 @@ 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,
|
||||
@@ -72,6 +77,11 @@ 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,
|
||||
@@ -83,6 +93,11 @@ 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,
|
||||
@@ -133,6 +148,11 @@ 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,
|
||||
@@ -159,6 +179,11 @@ 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,
|
||||
@@ -194,6 +219,11 @@ 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,
|
||||
@@ -210,6 +240,11 @@ 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,
|
||||
@@ -255,6 +290,11 @@ 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,
|
||||
@@ -301,6 +341,11 @@ 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,
|
||||
@@ -311,6 +356,11 @@ 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,
|
||||
|
@@ -4,11 +4,13 @@ package = Materio
|
||||
dependencies[] = ctools
|
||||
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
|
||||
@@ -27,6 +29,7 @@ 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][] = utilisateur anonyme
|
||||
features[user_role][] = utilisateur authentifié
|
||||
features[variable][] = additional_settings__active_tab_publication
|
||||
|
Reference in New Issue
Block a user