Actions
Feature #20556
closedAdd TypoScript properties to enable the admin panel only on specific pages/typeNums
Start date:
2009-06-03
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
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)
Actions