Home
last modified time | relevance | path

Searched hist:"3 f1e00378d8387350fed140c5c42fea17ed9ef7a" (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/lib/plugins/acl/
H A Dadmin.php3f1e00378d8387350fed140c5c42fea17ed9ef7a Fri Sep 27 19:49:32 UTC 2019 Guillaume Turri <guillaume.turri@gmail.com> Fix #1115

without this patch calling _acl_add may result in a corrupted acl.auth.php file.
This is the case when we're adding a config for a user and a scope with an
existing config.

The fix is just to call the _acl_del method before perming the addition.

Note that this _acl_add method is currently called from two places:
- from admin_plugin_acl.handle() which was explicitely calling _acl_del before
- from remote_plugin_acl.addAcl, which can actually result in a corrupted file