I've installed a new instance of MediaWiki (1.40) with the extension AccessControl. I created an AccessControl Template and the Notification is shown correctly. This is a protected page or you are not allowed to read this.
But in both cases the article is rendered, so you can read the whole content. Can you help me?
{ { AccessControl
| readOnlyAllowedUsers = TestUser
| editAllowedUsers = TestUser
} }
Lorem ipsum dolor sit amet, consectetuer