Commit 53a72831 authored by ccarigna's avatar ccarigna
Browse files

Added permission for promoting to front page

parent ab0046b1
...@@ -92,6 +92,18 @@ function uw_ct_event_user_default_permissions() { ...@@ -92,6 +92,18 @@ function uw_ct_event_user_default_permissions() {
'module' => 'override_node_options', 'module' => 'override_node_options',
); );
// Exported permission: override uw_event promote to front page option
$permissions['override uw_event promote to front page option'] = array(
'name' => 'override uw_event promote to front page option',
'roles' => array(
0 => 'administrator',
1 => 'content author',
2 => 'content editor',
3 => 'site manager',
),
'module' => 'override_node_options',
);
// Exported permission: override uw_event revision option // Exported permission: override uw_event revision option
$permissions['override uw_event revision option'] = array( $permissions['override uw_event revision option'] = array(
'name' => 'override uw_event revision option', 'name' => 'override uw_event revision option',
......
...@@ -53,6 +53,7 @@ features[user_permission][] = "edit any uw_event content" ...@@ -53,6 +53,7 @@ features[user_permission][] = "edit any uw_event content"
features[user_permission][] = "edit own uw_event content" features[user_permission][] = "edit own uw_event content"
features[user_permission][] = "enter uw_event revision log entry" features[user_permission][] = "enter uw_event revision log entry"
features[user_permission][] = "override uw_event published option" features[user_permission][] = "override uw_event published option"
features[user_permission][] = "override uw_event promote to front page option"
features[user_permission][] = "override uw_event revision option" features[user_permission][] = "override uw_event revision option"
features[user_permission][] = "override uw_event sticky option" features[user_permission][] = "override uw_event sticky option"
features[variable][] = "comment_anonymous_uw_event" features[variable][] = "comment_anonymous_uw_event"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment