Fix #1115without 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 anexisting config.The fix is jus
Fix #1115without 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 anexisting 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
show more ...
translation update
fix ACL admin footnote JS error, fixes #2540- ACL's hand-written template doesn't use div.content to wrap the footnote content- jQuery object existence check should use $obj.length
adjust bundled plugins that check for admin permissionsThis adjusts the bundled plugins to do their admin permission checksbased on their admin component's isAccessibleByCurrentUser() methodinste
adjust bundled plugins that check for admin permissionsThis adjusts the bundled plugins to do their admin permission checksbased on their admin component's isAccessibleByCurrentUser() methodinstead of doing their own isAdmin checks.
PSR-2 for ACL plugin
PSR-2 compatibility for the remote API libs
visibility declarations in plugins
line lengths shortenedThis makes sure all files use line lenghts shorter than 120 characters.This is a quick fix. It might not always be the nicest change.
remove DOKU_INC checksThere is no need for this check, since these files should not have anymain code that is executed on direct call.Fixes PSR1.Files.SideEffects.FoundWithSymbols
12345678910>>...31