| 64cdf779 | 30-Oct-2018 |
Andreas Gohr <gohr@cosmocode.de> |
add event to check access to admin plugins
This adds a new method that capsulates the access check that has to be done to decide if an admin plugin's page should be shown to the user. The default im
add event to check access to admin plugins
This adds a new method that capsulates the access check that has to be done to decide if an admin plugin's page should be shown to the user. The default implementation is the same as before, relying only on the forAdminOnly() method and the users' isadmin or ismanager status.
Admin plugins themselves can override the method to do additional checks. In this patch, I added that to the usermanager plugin which will only return true if the current auth backend can list users.
However the real idea behind this change is that the new method emits a new event called ADMINPLUGIN_ACCESS_CHECK which would allow plugins to overwrite it. This way it could be possible to give certain user groups access to certain admin plugins without giving them admin or manager permissions.
Note: this does not change how the "Admin" link is shown, it still depends on ismanager or isadmin. A plugin as mentioned above would need to influence the display via the MENU_ITEMS_ASSEMBLY event.
Note: this only covers the basic access check. Admin plugins may need further adjustments for access to other parts of the plugin (like AJAX components). An additional commit will update this for the bundled plugins.
show more ...
|
| 8f8499fa | 26-Oct-2018 |
peterfromearth <coder@peterfromearth.de> |
add logic if the server uses unlimited memory, memory_limit = -1 |
| e9fede20 | 22-Oct-2018 |
Phy <git@phy25.com> |
unify send_redirect(wl()) parameters - always use absolute URL - use static string instead of array if no concat is required - use '&' instead of '&' |
| cc21cb50 | 22-Oct-2018 |
Andreas Gohr <andi@splitbrain.org> |
Update inc/Action/Search.php
Co-Authored-By: schplurtz <schplurtz@laposte.net> |
| 918638dc | 21-Oct-2018 |
Schplurtz le Déboulonné <Schplurtz@laposte.net> |
use wl() when reditecting old style search url
fixes #2546 |
| f1a7f0c2 | 18-Oct-2018 |
Schplurtz le Déboulonné <schplurtz@laposte.net> |
translation update |
| 64bd72d3 | 16-Oct-2018 |
Quenti <pages_quentin@hotmail.com> |
translation update |
| 45c4a35b | 14-Oct-2018 |
Dmytro Marchenko <dmytro.marchenko1989@gmail.com> |
translation update |
| d2dde00e | 14-Oct-2018 |
Dmytro Marchenko <dmytro.marchenko1989@gmail.com> |
translation update |
| 1b266025 | 13-Oct-2018 |
Phy <git@phy25.com> |
getRecents(): prevent non-exist changelog error. Fixes #2440.
This is based on #2506 but with a different approach to deal with unknown read error: If file function doesn't return an array, set it t
getRecents(): prevent non-exist changelog error. Fixes #2440.
This is based on #2506 but with a different approach to deal with unknown read error: If file function doesn't return an array, set it to an empty array. Somewhat pythonic?
show more ...
|
| 635df885 | 13-Oct-2018 |
Phy <git@phy25.com> |
revert text direction change for translation (fa) in #2508 |
| 226545d1 | 13-Oct-2018 |
Riccardo <riccardo.furlato@gmail.com> |
translation update |
| 7848880f | 11-Oct-2018 |
Adolfo Jayme Barrientos <fito@libreoffice.org> |
translation update |
| c163dbef | 08-Oct-2018 |
Michael Große <grosse@cosmocode.de> |
Better deprecation annotation for DOKU_TPL*
This syntax can be used by IDEA and other IDEs to mark the constants as deprecated in the editor. |
| ea78ef0a | 27-Sep-2018 |
José Vieira <jmsv63@gmail.com> |
translation update |
| 0db7a50d | 27-Sep-2018 |
Thammi <thammi@chaossource.net> |
Hide login form on denied page if login is disabled |
| 2eaa0567 | 20-Sep-2018 |
peterfromearth <coder@peterfromearth.de> |
add check if a page has once existed and show new onceexisted page |
| 1759e999 | 19-Sep-2018 |
Masoud Sadrnezhaad <masoud@sadrnezhaad.ir> |
translation update |
| f25f0dfc | 15-Sep-2018 |
no credits taken <someone@cambodia.kh> |
translation update |
| 743792d0 | 15-Sep-2018 |
LarsGit223 <lars_paulsen@web.de> |
Another scrutinizer fix. |
| d31a1599 | 15-Sep-2018 |
LarsGit223 <lars_paulsen@web.de> |
Added type check to fix scrutinizer message. |
| 102cdbd7 | 15-Sep-2018 |
LarsGit223 <lars_paulsen@web.de> |
Auth/Mailer: properly handle usernames including a comma
Prevent splitting of e-mail addresses at the wrong point by enclosing a username in '"'. The "To" e-mail address in the notification mail was
Auth/Mailer: properly handle usernames including a comma
Prevent splitting of e-mail addresses at the wrong point by enclosing a username in '"'. The "To" e-mail address in the notification mail was malformed if a new user was added and included a ',' in it's name. Fixes #1569.
show more ...
|
| e0627639 | 15-Sep-2018 |
Quenti <mozilla@quentino.fr> |
translation update |
| 68d9ab90 | 12-Sep-2018 |
Quenti <mozilla@quentino.fr> |
translation update |
| fbdd6dea | 12-Sep-2018 |
Aleksandr Selivanov <alexgearbox@yandex.ru> |
translation update |