mirror of https://github.com/BOINC/boinc.git
Check default privileges assignments
Set sensible default permissions
This commit is contained in:
parent
41c20c9994
commit
7ad72eba20
|
@ -104,6 +104,14 @@ function boinc_standard_user_default_permissions() {
|
|||
),
|
||||
);
|
||||
|
||||
// Exported permission: administer flags
|
||||
$permissions['administer flags'] = array(
|
||||
'name' => 'administer flags',
|
||||
'roles' => array(
|
||||
'0' => 'administrator',
|
||||
),
|
||||
);
|
||||
|
||||
// Exported permission: administer imce(execute PHP)
|
||||
$permissions['administer imce(execute PHP)'] = array(
|
||||
'name' => 'administer imce(execute PHP)',
|
||||
|
@ -241,6 +249,14 @@ function boinc_standard_user_default_permissions() {
|
|||
),
|
||||
);
|
||||
|
||||
// Exported permission: assign all roles
|
||||
$permissions['assign all roles'] = array(
|
||||
'name' => 'assign all roles',
|
||||
'roles' => array(
|
||||
'0' => 'administrator',
|
||||
),
|
||||
);
|
||||
|
||||
// Exported permission: change own username
|
||||
$permissions['change own username'] = array(
|
||||
'name' => 'change own username',
|
||||
|
@ -378,7 +394,6 @@ function boinc_standard_user_default_permissions() {
|
|||
'name' => 'edit own page content',
|
||||
'roles' => array(
|
||||
'0' => 'administrator',
|
||||
'1' => 'authenticated user',
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -395,7 +410,14 @@ function boinc_standard_user_default_permissions() {
|
|||
'name' => 'edit own story content',
|
||||
'roles' => array(
|
||||
'0' => 'administrator',
|
||||
'1' => 'authenticated user',
|
||||
),
|
||||
);
|
||||
|
||||
// Exported permission: ignore user
|
||||
$permissions['ignore user'] = array(
|
||||
'name' => 'ignore user',
|
||||
'roles' => array(
|
||||
'0' => 'authenticated user',
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -421,6 +443,15 @@ function boinc_standard_user_default_permissions() {
|
|||
),
|
||||
);
|
||||
|
||||
// Exported permission: reset abuse flags
|
||||
$permissions['reset abuse flags'] = array(
|
||||
'name' => 'reset abuse flags',
|
||||
'roles' => array(
|
||||
'0' => 'administrator',
|
||||
'1' => 'moderator',
|
||||
),
|
||||
);
|
||||
|
||||
// Exported permission: revert revisions
|
||||
$permissions['revert revisions'] = array(
|
||||
'name' => 'revert revisions',
|
||||
|
@ -454,6 +485,14 @@ function boinc_standard_user_default_permissions() {
|
|||
),
|
||||
);
|
||||
|
||||
// Exported permission: use flag import
|
||||
$permissions['use flag import'] = array(
|
||||
'name' => 'use flag import',
|
||||
'roles' => array(
|
||||
'0' => 'administrator',
|
||||
),
|
||||
);
|
||||
|
||||
// Exported permission: use page manager
|
||||
$permissions['use page manager'] = array(
|
||||
'name' => 'use page manager',
|
||||
|
|
|
@ -13,6 +13,7 @@ dependencies[] = "exportables"
|
|||
dependencies[] = "features"
|
||||
dependencies[] = "flag"
|
||||
dependencies[] = "flag_abuse"
|
||||
dependencies[] = "ignore_user"
|
||||
dependencies[] = "imce"
|
||||
dependencies[] = "imce_wysiwyg"
|
||||
dependencies[] = "input_formats"
|
||||
|
@ -26,6 +27,7 @@ dependencies[] = "path"
|
|||
dependencies[] = "pathauto"
|
||||
dependencies[] = "pathologic"
|
||||
dependencies[] = "php"
|
||||
dependencies[] = "role_delegation"
|
||||
dependencies[] = "strongarm"
|
||||
dependencies[] = "tableofcontents"
|
||||
dependencies[] = "tabtamer"
|
||||
|
@ -73,6 +75,7 @@ features[user_permission][] = "administer content types"
|
|||
features[user_permission][] = "administer features"
|
||||
features[user_permission][] = "administer files"
|
||||
features[user_permission][] = "administer filters"
|
||||
features[user_permission][] = "administer flags"
|
||||
features[user_permission][] = "administer imce(execute PHP)"
|
||||
features[user_permission][] = "administer menu"
|
||||
features[user_permission][] = "administer mini panels"
|
||||
|
@ -90,6 +93,7 @@ features[user_permission][] = "administer taxonomy"
|
|||
features[user_permission][] = "administer url aliases"
|
||||
features[user_permission][] = "administer users"
|
||||
features[user_permission][] = "administer views"
|
||||
features[user_permission][] = "assign all roles"
|
||||
features[user_permission][] = "change own username"
|
||||
features[user_permission][] = "create mini panels"
|
||||
features[user_permission][] = "create page content"
|
||||
|
@ -109,13 +113,16 @@ features[user_permission][] = "edit any story content"
|
|||
features[user_permission][] = "edit own page content"
|
||||
features[user_permission][] = "edit own panel-nodes"
|
||||
features[user_permission][] = "edit own story content"
|
||||
features[user_permission][] = "ignore user"
|
||||
features[user_permission][] = "import input formats"
|
||||
features[user_permission][] = "manage features"
|
||||
features[user_permission][] = "notify of path changes"
|
||||
features[user_permission][] = "reset abuse flags"
|
||||
features[user_permission][] = "revert revisions"
|
||||
features[user_permission][] = "select different theme"
|
||||
features[user_permission][] = "use PHP for block visibility"
|
||||
features[user_permission][] = "use PHP for me alias paths"
|
||||
features[user_permission][] = "use flag import"
|
||||
features[user_permission][] = "use page manager"
|
||||
features[user_permission][] = "use panels caching features"
|
||||
features[user_permission][] = "use panels dashboard"
|
||||
|
|
|
@ -11,4 +11,7 @@ dependencies[] = "search"
|
|||
dependencies[] = "search_by_page"
|
||||
dependencies[] = "strongarm"
|
||||
features[ctools][] = "strongarm:strongarm:1"
|
||||
features[user_permission][] = "administer search"
|
||||
features[user_permission][] = "search content"
|
||||
features[user_permission][] = "use advanced search"
|
||||
features[variable][] = "search_by_page_settings"
|
||||
|
|
Loading…
Reference in New Issue