Issue #1365234 by TravisCarden, amontero, bartmcpherson, xjm: Add description to "access content overview" permission.

8.0.x
Alex Pott 2013-04-16 18:43:21 +01:00
parent 9263a49921
commit aaf48107d2
1 changed files with 4 additions and 4 deletions

View File

@ -1243,10 +1243,10 @@ function node_permission() {
'restrict access' => TRUE,
),
'access content overview' => array(
'title' => t('Access the content overview page'),
'description' => t('Access the content overview page at <a href="@url">admin/content</a>.', array(
'@url' => url('admin/content'),
)),
'title' => t('Access the Content overview page'),
'description' => user_access('access content overview')
? t('Get an overview of <a href="@url">all content</a>.', array('@url' => url('admin/content')))
: t('Get an overview of all content.'),
),
'access content' => array(
'title' => t('View published content'),