diff options
author | Andreas Gohr <andi@splitbrain.org> | 2025-04-19 15:37:03 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2025-04-19 15:37:03 +0200 |
commit | dbe59455235b2af2367275ece5f0ec6ba6f1b6b2 (patch) | |
tree | b13ead0efac7de48183ec685c95e3e7102f8e1e1 /lib/scripts/drag.js | |
parent | 33792c0e7da35449c4591cfbb2b77377e2f465b1 (diff) | |
download | dokuwiki-dbe59455235b2af2367275ece5f0ec6ba6f1b6b2.tar.gz dokuwiki-dbe59455235b2af2367275ece5f0ec6ba6f1b6b2.zip |
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.
Diffstat (limited to 'lib/scripts/drag.js')
0 files changed, 0 insertions, 0 deletions