updated features materio_subscrition and materio_user_profile
This commit is contained in:
241
materio_subscriptions/materio_subscriptions.features.user_permission.inc
Normal file → Executable file
241
materio_subscriptions/materio_subscriptions.features.user_permission.inc
Normal file → Executable file
@@ -10,271 +10,362 @@
|
||||
function materio_subscriptions_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: administer attributes.
|
||||
// Exported permission: 'access default UC roles expiration list'.
|
||||
$permissions['access default UC roles expiration list'] = array(
|
||||
'name' => 'access default UC roles expiration list',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'materio_admin',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer attributes'.
|
||||
$permissions['administer attributes'] = array(
|
||||
'name' => 'administer attributes',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_attribute',
|
||||
);
|
||||
|
||||
// Exported permission: administer cart links.
|
||||
// Exported permission: 'administer cart links'.
|
||||
$permissions['administer cart links'] = array(
|
||||
'name' => 'administer cart links',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_cart_links',
|
||||
);
|
||||
|
||||
// Exported permission: administer credit cards.
|
||||
// Exported permission: 'administer credit cards'.
|
||||
$permissions['administer credit cards'] = array(
|
||||
'name' => 'administer credit cards',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_credit',
|
||||
);
|
||||
|
||||
// Exported permission: administer order workflow.
|
||||
// Exported permission: 'administer order workflow'.
|
||||
$permissions['administer order workflow'] = array(
|
||||
'name' => 'administer order workflow',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: administer own product features.
|
||||
// Exported permission: 'administer own product features'.
|
||||
$permissions['administer own product features'] = array(
|
||||
'name' => 'administer own product features',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_product',
|
||||
);
|
||||
|
||||
// Exported permission: administer product attributes.
|
||||
// Exported permission: 'administer product attributes'.
|
||||
$permissions['administer product attributes'] = array(
|
||||
'name' => 'administer product attributes',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_attribute',
|
||||
);
|
||||
|
||||
// Exported permission: administer product classes.
|
||||
// Exported permission: 'administer product classes'.
|
||||
$permissions['administer product classes'] = array(
|
||||
'name' => 'administer product classes',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_product',
|
||||
);
|
||||
|
||||
// Exported permission: administer product features.
|
||||
// Exported permission: 'administer product features'.
|
||||
$permissions['administer product features'] = array(
|
||||
'name' => 'administer product features',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_product',
|
||||
);
|
||||
|
||||
// Exported permission: administer product options.
|
||||
// Exported permission: 'administer product options'.
|
||||
$permissions['administer product options'] = array(
|
||||
'name' => 'administer product options',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_attribute',
|
||||
);
|
||||
|
||||
// Exported permission: administer products.
|
||||
// Exported permission: 'administer products'.
|
||||
$permissions['administer products'] = array(
|
||||
'name' => 'administer products',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_product',
|
||||
);
|
||||
|
||||
// Exported permission: administer store.
|
||||
// Exported permission: 'administer store'.
|
||||
$permissions['administer store'] = array(
|
||||
'name' => 'administer store',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_store',
|
||||
);
|
||||
|
||||
// Exported permission: create orders.
|
||||
// Exported permission: 'create orders'.
|
||||
$permissions['create orders'] = array(
|
||||
'name' => 'create orders',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: create product content.
|
||||
// Exported permission: 'create product content'.
|
||||
$permissions['create product content'] = array(
|
||||
'name' => 'create product content',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: delete any product content.
|
||||
// Exported permission: 'delete any product content'.
|
||||
$permissions['delete any product content'] = array(
|
||||
'name' => 'delete any product content',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: delete orders.
|
||||
// Exported permission: 'delete orders'.
|
||||
$permissions['delete orders'] = array(
|
||||
'name' => 'delete orders',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: delete own product content.
|
||||
// Exported permission: 'delete own product content'.
|
||||
$permissions['delete own product content'] = array(
|
||||
'name' => 'delete own product content',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: edit any product content.
|
||||
// Exported permission: 'delete payments'.
|
||||
$permissions['delete payments'] = array(
|
||||
'name' => 'delete payments',
|
||||
'roles' => array(),
|
||||
'module' => 'uc_payment',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit any product content'.
|
||||
$permissions['edit any product content'] = array(
|
||||
'name' => 'edit any product content',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: edit orders.
|
||||
// Exported permission: 'edit orders'.
|
||||
$permissions['edit orders'] = array(
|
||||
'name' => 'edit orders',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: edit own product content.
|
||||
// Exported permission: 'edit own product content'.
|
||||
$permissions['edit own product content'] = array(
|
||||
'name' => 'edit own product content',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: manage store coupons.
|
||||
$permissions['manage store coupons'] = array(
|
||||
'name' => 'manage store coupons',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
),
|
||||
'module' => 'uc_coupon',
|
||||
// Exported permission: 'enter product revision log entry'.
|
||||
$permissions['enter product revision log entry'] = array(
|
||||
'name' => 'enter product revision log entry',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: process credit cards.
|
||||
// Exported permission: 'manual payments'.
|
||||
$permissions['manual payments'] = array(
|
||||
'name' => 'manual payments',
|
||||
'roles' => array(),
|
||||
'module' => 'uc_payment',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product authored by option'.
|
||||
$permissions['override product authored by option'] = array(
|
||||
'name' => 'override product authored by option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product authored on option'.
|
||||
$permissions['override product authored on option'] = array(
|
||||
'name' => 'override product authored on option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product promote to front page option'.
|
||||
$permissions['override product promote to front page option'] = array(
|
||||
'name' => 'override product promote to front page option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product published option'.
|
||||
$permissions['override product published option'] = array(
|
||||
'name' => 'override product published option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product revision option'.
|
||||
$permissions['override product revision option'] = array(
|
||||
'name' => 'override product revision option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product sticky option'.
|
||||
$permissions['override product sticky option'] = array(
|
||||
'name' => 'override product sticky option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'process credit cards'.
|
||||
$permissions['process credit cards'] = array(
|
||||
'name' => 'process credit cards',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_credit',
|
||||
);
|
||||
|
||||
// Exported permission: unconditionally delete orders.
|
||||
// Exported permission: 'show product title'.
|
||||
$permissions['show product title'] = array(
|
||||
'name' => 'show product title',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'materio_page_title',
|
||||
);
|
||||
|
||||
// Exported permission: 'unconditionally delete orders'.
|
||||
$permissions['unconditionally delete orders'] = array(
|
||||
'name' => 'unconditionally delete orders',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: view all orders.
|
||||
// Exported permission: 'view all orders'.
|
||||
$permissions['view all orders'] = array(
|
||||
'name' => 'view all orders',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: view cart links report.
|
||||
// Exported permission: 'view cart links report'.
|
||||
$permissions['view cart links report'] = array(
|
||||
'name' => 'view cart links report',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_cart_links',
|
||||
);
|
||||
|
||||
// Exported permission: view cc details.
|
||||
// Exported permission: 'view cc details'.
|
||||
$permissions['view cc details'] = array(
|
||||
'name' => 'view cc details',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_credit',
|
||||
);
|
||||
|
||||
// Exported permission: view customers.
|
||||
// Exported permission: 'view customers'.
|
||||
$permissions['view customers'] = array(
|
||||
'name' => 'view customers',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: view own orders.
|
||||
// Exported permission: 'view own invoices'.
|
||||
$permissions['view own invoices'] = array(
|
||||
'name' => 'view own invoices',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own orders'.
|
||||
$permissions['view own orders'] = array(
|
||||
'name' => 'view own orders',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: view reports.
|
||||
// Exported permission: 'view payments'.
|
||||
$permissions['view payments'] = array(
|
||||
'name' => 'view payments',
|
||||
'roles' => array(),
|
||||
'module' => 'uc_payment',
|
||||
);
|
||||
|
||||
// Exported permission: 'view reports'.
|
||||
$permissions['view reports'] = array(
|
||||
'name' => 'view reports',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_store',
|
||||
);
|
||||
|
||||
// Exported permission: view store coupons.
|
||||
$permissions['view store coupons'] = array(
|
||||
'name' => 'view store coupons',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
),
|
||||
'module' => 'uc_coupon',
|
||||
);
|
||||
|
||||
return $permissions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user