mirror of https://github.com/BOINC/boinc.git
Drupal: Changes to Feature boinc_standard.
Added user_roles to Feature, needed for CKEditor. Fixed array declaration that was overriding the Feature. Removed old wysiwyg code.
This commit is contained in:
parent
98aad893c7
commit
0d2a4bcd34
|
@ -96,9 +96,7 @@ function boinc_standard_ckeditor_profile_defaults() {
|
|||
'excl_regex' => '',
|
||||
'simple_incl_regex' => '',
|
||||
),
|
||||
'roles' => array(
|
||||
'' => NULL,
|
||||
),
|
||||
'roles' => array(),
|
||||
),
|
||||
'CKEditor Global Profile' => array(
|
||||
'name' => 'CKEditor Global Profile',
|
||||
|
|
|
@ -17,9 +17,6 @@ function boinc_standard_ctools_plugin_api() {
|
|||
elseif ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => 1);
|
||||
}
|
||||
elseif ($module == "wysiwyg" && $api == "wysiwyg") {
|
||||
return array("version" => 2);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -184,6 +184,13 @@ features[user_permission][] = "view all panes"
|
|||
features[user_permission][] = "view pane admin links"
|
||||
features[user_permission][] = "view revisions"
|
||||
features[user_permission][] = "view uploaded files"
|
||||
features[user_role][] = "administrator"
|
||||
features[user_role][] = "anonymous user"
|
||||
features[user_role][] = "authenticated user"
|
||||
features[user_role][] = "community member"
|
||||
features[user_role][] = "content editor"
|
||||
features[user_role][] = "moderator"
|
||||
features[user_role][] = "verified contributor"
|
||||
features[variable][] = "admin_theme"
|
||||
features[variable][] = "bbcode_debug_4"
|
||||
features[variable][] = "bbcode_debug_6"
|
||||
|
|
Loading…
Reference in New Issue