Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removes meta tag and content revision from regional admins
  • Loading branch information
deadlybutter committed Sep 4, 2015
commit abd36f5c378be0b14d4d018487d44c551d7277e3
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function dosomething_global_form_campaign_node_form_alter(&$form, &$form_state,
$form[$field_name]['#access'] = FALSE;
}
}
$form['revision_information']['#access'] = FALSE;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ function dosomething_metatag_user_default_permissions() {
$permissions['edit meta tags'] = array(
'name' => 'edit meta tags',
'roles' => array(
'brazil admin' => 'brazil admin',
'editor' => 'editor',
'mexico admin' => 'mexico admin',
),
'module' => 'metatag',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ features[metatag][] = global
features[metatag][] = node:campaign
features[user_permission][] = administer meta tags
features[user_permission][] = edit meta tags
mtime = 1438621037
mtime = 1439909405