Rework security tab for pages

This commit is contained in:
Matias Griese
2020-01-08 20:25:57 +02:00
parent eca3896bfc
commit ca22b56148
3 changed files with 5 additions and 4 deletions

View File

@@ -174,5 +174,5 @@ form:
fields:
permissions:
type: tab
title: PLUGIN_ADMIN.PERMISSIONS
import@: partials/permissions
title: PLUGIN_ADMIN.SECURITY
import@: partials/security

View File

@@ -2,7 +2,7 @@ form:
fields:
_site:
type: section
title: PLUGIN_ADMIN.SITE
title: PLUGIN_ADMIN.PAGE_ACCESS
underline: true
fields:
@@ -31,7 +31,7 @@ form:
_admin:
type: section
title: PLUGIN_ADMIN.ADMIN
title: PLUGIN_ADMIN.PAGE PERMISSIONS
underline: true
fields:

View File

@@ -725,6 +725,7 @@ class Validation
} elseif (Utils::isNegative($val)) {
$val = false;
} else {
// Ignore invalid bool values.
$val = null;
}
break;