Searched hist:"33792 c0e7da35449c4591cfbb2b77377e2f465b1" (Results 1 – 2 of 2) sorted by relevance
/dokuwiki/inc/Menu/ |
H A D | AbstractMenu.php | 33792c0e7da35449c4591cfbb2b77377e2f465b1 Sat Apr 19 13:18:26 UTC 2025 Andreas Gohr <andi@splitbrain.org> Menu: check context visibility after assembling items
This addresses #4400. By checking the context visibility after the assembly, the context is properly checked for plugin items.
|
/dokuwiki/inc/Menu/Item/ |
H A D | Admin.php | dbe59455235b2af2367275ece5f0ec6ba6f1b6b2 Sat Apr 19 13:37:03 UTC 2025 Andreas Gohr <andi@splitbrain.org> check permissions for admin menu item earlier
I am not sure why moving the context visibility check to a later stage suddenly surfaced the issue of $INFO not being set in the general_html_test. I would have expected the same issue before the changes of 33792c0e7da35449c4591cfbb2b77377e2f465b1
In any case it makes not much sense to do the permission checks there anyway. Doing it in the constructor makes more sense since this is not a context sensitive check.
|