View source
<?php
function paragraphs_test_user_default_permissions() {
$permissions = array();
$permissions['administer panelizer paragraphs_item ptest choice'] = array(
'name' => 'administer panelizer paragraphs_item ptest choice',
'roles' => array(
'ptest creator' => 'ptest creator',
),
'module' => 'panelizer',
);
$permissions['administer panelizer paragraphs_item ptest content'] = array(
'name' => 'administer panelizer paragraphs_item ptest content',
'roles' => array(),
'module' => 'panelizer',
);
$permissions['administer panelizer paragraphs_item ptest context'] = array(
'name' => 'administer panelizer paragraphs_item ptest context',
'roles' => array(),
'module' => 'panelizer',
);
$permissions['administer panelizer paragraphs_item ptest defaults'] = array(
'name' => 'administer panelizer paragraphs_item ptest defaults',
'roles' => array(),
'module' => 'panelizer',
);
$permissions['administer panelizer paragraphs_item ptest layout'] = array(
'name' => 'administer panelizer paragraphs_item ptest layout',
'roles' => array(),
'module' => 'panelizer',
);
$permissions['administer panelizer paragraphs_item ptest overview'] = array(
'name' => 'administer panelizer paragraphs_item ptest overview',
'roles' => array(),
'module' => 'panelizer',
);
$permissions['administer panelizer paragraphs_item ptest settings'] = array(
'name' => 'administer panelizer paragraphs_item ptest settings',
'roles' => array(),
'module' => 'panelizer',
);
$permissions['administer paragraphs bundles'] = array(
'name' => 'administer paragraphs bundles',
'roles' => array(),
'module' => 'paragraphs',
);
$permissions['create paragraph_test content'] = array(
'name' => 'create paragraph_test content',
'roles' => array(
'ptest creator' => 'ptest creator',
),
'module' => 'node',
);
$permissions['delete any paragraph_test content'] = array(
'name' => 'delete any paragraph_test content',
'roles' => array(
'ptest creator' => 'ptest creator',
),
'module' => 'node',
);
$permissions['delete own paragraph_test content'] = array(
'name' => 'delete own paragraph_test content',
'roles' => array(
'ptest creator' => 'ptest creator',
),
'module' => 'node',
);
$permissions['edit any paragraph_test content'] = array(
'name' => 'edit any paragraph_test content',
'roles' => array(
'ptest creator' => 'ptest creator',
),
'module' => 'node',
);
$permissions['edit own paragraph_test content'] = array(
'name' => 'edit own paragraph_test content',
'roles' => array(
'ptest creator' => 'ptest creator',
),
'module' => 'node',
);
return $permissions;
}