#20556Add TypoScript properties to enable the admin panel only on specific pages/typeNums
Description
If in TypoScript the setting “config.admPanel = 1” is set, the admin panel will show on all pages in the frontend. If a specific page or typeNum is used to return XML or JSON data (e.g. for AJAX disposal), the admin panel would mix up these responses.
Of course it’s possible to define conditions to avoid this – however it’s a common task that should be solved without TypoScript conditions by new properties, e.g:
config.admPanel {
deny {
pages = 1,2,3
types = 100,101
}
// allow takes precedence:
allow {
pages = 10,11,12
types = 0
}
}
(issue imported from #M11254)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.