Sorry, perhaps ignore the post below, let's try to use the new features that you have so nicely implemented.
I have added the TemplateData and AccessControl to `LocalSettings.php` extension and made the following template called `Template:AccessControlTemplate`:
< noinclude>
< templatedata>
{
"description": "Template for permissions",
"params": {
"editAllowedGroups": {
"label": "editAllowedGroups",
"description": "Wiki groups for editing",
"type": "string",
"required": true
},
"readOnlyAllowedGroups": {
"label": "readOnlyAllowedGroups",
"description": "Wiki groups for read only",
"type": "string",
"required": false
}
}
}
< /templatedata>
< /noinclude>
< hr>
< p style="text-align:center">This page is protected. Editing groups: { { { editAllowedGroups | None } } } Viewing groups: { { { readOnlyAllowedGroups | None } } } < /p>
< hr>
...from my wiki pages I then declare the template at the top of the page:
{ { AccessControlTemplate | editAllowedGroups=myGroup } }
The nice banner appears on the page ...but users not in `myGroup` can still edit! What's going on?!
Thanks for any help