Skip to content
Snippets Groups Projects
Commit 7787ef2e authored by Frode Petterson's avatar Frode Petterson
Browse files

JI-2080 Improve error message for hub cache

parent 321b502b
Branches
Tags
No related merge requests found
......@@ -342,7 +342,7 @@ switch($action) {
* Handle filtering of parameters through AJAX.
*/
case 'contenthubmetadatacache':
if (!framework::has_editor_access('nopermissiontoviewcontenttypes')) {
if (!framework::has_editor_access('nopermissiontoviewcontenthubcache')) {
break;
}
$editor = framework::instance('editor');
......
......@@ -240,6 +240,7 @@ $string['nopermissiontoviewresult'] = 'You do not have permission to view result
$string['nopermissiontouploadfiles'] = 'You do not have permission to upload files here.';
$string['nopermissiontouploadcontent'] = 'You do not have permission to upload content here.';
$string['nopermissiontoviewcontenttypes'] = 'You do not have permission to view the content types.';
$string['nopermissiontoviewcontenthubcache'] = 'You do not have permission to view the metadata for the content hub.';
// Editor translations.
$string['noziparchive'] = 'Your PHP version does not support ZipArchive.';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment