updated features : created showroom_localisation field. Perms with showroom role are still failing
This commit is contained in:
@@ -30,6 +30,24 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_showroom_localisation'.
|
||||
$permissions['create field_showroom_localisation'] = array(
|
||||
'name' => 'create field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'Showroom' => 'Showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_showroom_localisation_show'.
|
||||
$permissions['create field_showroom_localisation_show'] = array(
|
||||
'name' => 'create field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'create field_tode_showroom'.
|
||||
$permissions['create field_tode_showroom'] = array(
|
||||
'name' => 'create field_tode_showroom',
|
||||
@@ -80,6 +98,15 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'taxonomy',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete users with role 13'.
|
||||
$permissions['delete users with role 13'] = array(
|
||||
'name' => 'delete users with role 13',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
),
|
||||
'module' => 'administerusersbyrole',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit any showroom content'.
|
||||
$permissions['edit any showroom content'] = array(
|
||||
'name' => 'edit any showroom content',
|
||||
@@ -100,6 +127,23 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_showroom_localisation'.
|
||||
$permissions['edit field_showroom_localisation'] = array(
|
||||
'name' => 'edit field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_showroom_localisation_show'.
|
||||
$permissions['edit field_showroom_localisation_show'] = array(
|
||||
'name' => 'edit field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit field_tode_showroom'.
|
||||
$permissions['edit field_tode_showroom'] = array(
|
||||
'name' => 'edit field_tode_showroom',
|
||||
@@ -120,6 +164,23 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_showroom_localisation'.
|
||||
$permissions['edit own field_showroom_localisation'] = array(
|
||||
'name' => 'edit own field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_showroom_localisation_show'.
|
||||
$permissions['edit own field_showroom_localisation_show'] = array(
|
||||
'name' => 'edit own field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit own field_tode_showroom'.
|
||||
$permissions['edit own field_tode_showroom'] = array(
|
||||
'name' => 'edit own field_tode_showroom',
|
||||
@@ -150,6 +211,15 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'taxonomy',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit users with role 13'.
|
||||
$permissions['edit users with role 13'] = array(
|
||||
'name' => 'edit users with role 13',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
),
|
||||
'module' => 'administerusersbyrole',
|
||||
);
|
||||
|
||||
// Exported permission: 'enter showroom revision log entry'.
|
||||
$permissions['enter showroom revision log entry'] = array(
|
||||
'name' => 'enter showroom revision log entry',
|
||||
@@ -237,13 +307,32 @@ function showroom_user_default_permissions() {
|
||||
$permissions['view field_showroom'] = array(
|
||||
'name' => 'view field_showroom',
|
||||
'roles' => array(
|
||||
'Showroom' => 'Showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_showroom_localisation'.
|
||||
$permissions['view field_showroom_localisation'] = array(
|
||||
'name' => 'view field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_showroom_localisation_show'.
|
||||
$permissions['view field_showroom_localisation_show'] = array(
|
||||
'name' => 'view field_showroom_localisation_show',
|
||||
'roles' => array(
|
||||
'anonymous user' => 'anonymous user',
|
||||
'authenticated user' => 'authenticated user',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view field_tode_showroom'.
|
||||
$permissions['view field_tode_showroom'] = array(
|
||||
'name' => 'view field_tode_showroom',
|
||||
@@ -264,6 +353,24 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own field_showroom_localisation'.
|
||||
$permissions['view own field_showroom_localisation'] = array(
|
||||
'name' => 'view own field_showroom_localisation',
|
||||
'roles' => array(
|
||||
'Showroom' => 'Showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own field_showroom_localisation_show'.
|
||||
$permissions['view own field_showroom_localisation_show'] = array(
|
||||
'name' => 'view own field_showroom_localisation_show',
|
||||
'roles' => array(),
|
||||
'module' => 'field_permissions',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own field_tode_showroom'.
|
||||
$permissions['view own field_tode_showroom'] = array(
|
||||
'name' => 'view own field_tode_showroom',
|
||||
|
Reference in New Issue
Block a user