- Oct 30, 2018
-
-
Andreas Gohr authored
Otherwise it's a bit ahrd to decide if access should be granted ;-)
-
Andreas Gohr authored
The permissions are now checked also when trying to the title of the plugin.
-
Andreas Gohr authored
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.
-
- Oct 26, 2018
-
-
Andreas Gohr authored
add logic if the server uses unlimited memory, memory_limit = -1
-
peterfromearth authored
-
- Oct 18, 2018
- Oct 17, 2018
-
-
Schplurtz le Déboulonné authored
-
Schplurtz le Déboulonné authored
-
- Oct 16, 2018
- Oct 14, 2018
-
-
Phy authored
Translation update (uk)
-
Phy authored
-
Phy authored
Translation update (uk)
-
Dmytro Marchenko authored
-
Dmytro Marchenko authored
-
- Oct 12, 2018
- Oct 11, 2018
-
-
Andreas Gohr authored
Hide login form on denied page if login is disabled
-
Phy authored
Translation update (ca)
-
Adolfo Jayme Barrientos authored
-
- Oct 08, 2018
-
-
Andreas Gohr authored
Better deprecation annotation for DOKU_TPL*
-
Michael Große authored
This syntax can be used by IDEA and other IDEs to mark the constants as deprecated in the editor.
-
- Sep 27, 2018
-
-
Phy authored
Translation update (pt)
-
José Vieira authored
-
Thammi authored
-
- Sep 22, 2018
-
-
peterfromearth authored
-
- Sep 20, 2018
-
-
peterfromearth authored
-
- Sep 19, 2018
-
-
Masoud Sadrnezhaad authored
-
- Sep 15, 2018
-
-
Andreas Gohr authored
Translation update (km)
-
no credits taken authored
-
Andreas Gohr authored
Translation update (oc)
-
Quenti authored
-
- Sep 12, 2018
-
-
Phy authored
Translation update (oc)
-
Quenti authored
-
Phy authored
Translation update (ru)
-
Aleksandr Selivanov authored
-