function node_update_7008
Split the 'administer nodes' permission from 'access content overview'.
Related topics
File
-
modules/
node/ node.install, line 799
Code
function node_update_7008() {
$roles = user_roles(FALSE, 'administer nodes');
foreach ($roles as $rid => $role) {
_update_7000_user_role_grant_permissions($rid, array(
'access content overview',
), 'node');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.