- Oct 30, 2018
-
-
Andreas Gohr authored
This adjusts the bundled plugins to do their admin permission checks based on their admin component's isAccessibleByCurrentUser() method instead of doing their own isAdmin checks.
-
Andreas Gohr authored
Otherwise it's a bit ahrd to decide if access should be granted ;-)
-
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 17, 2018
-
-
Schplurtz le Déboulonné authored
-
Schplurtz le Déboulonné authored
-
- Oct 14, 2018
-
-
Dmytro Marchenko authored
-
Dmytro Marchenko authored
-
- Oct 12, 2018
-
-
Riccardo authored
-
- Oct 11, 2018
-
-
Adolfo Jayme Barrientos authored
-
- Sep 27, 2018
-
-
José Vieira authored
-
- Sep 19, 2018
-
-
Masoud Sadrnezhaad authored
-
- Sep 15, 2018
-
-
no credits taken authored
-
- Sep 12, 2018
-
-
Aleksandr Selivanov authored
-
- Sep 11, 2018
-
-
Vyacheslav Strenadko authored
-
- Sep 10, 2018
-
-
Aaron Zhou authored
-
- Sep 08, 2018
-
-
Andy authored
-
- Aug 28, 2018
-
-
qezwan authored
-
- Aug 24, 2018
-
-
Salif Mehmed authored
-
- Aug 16, 2018
-
-
WIRESLINKEA authored
-
- Aug 10, 2018
-
-
lempel authored
-
- Aug 04, 2018
-
-
Khalid authored
-
- Aug 01, 2018
-
-
Aleksandr Selivanov authored
-
- Jul 27, 2018
-
-
mahir authored
-
- Jul 20, 2018
-
-
Andreas Gohr authored
-
- Jul 02, 2018
-
-
Peter 'Pessoft' Kolínek authored
-
- Jun 26, 2018
-
-
Andreas Gohr authored
-
- Jun 19, 2018
-
-
Brend Wanders authored
Safari 9 in iOS does not support the use of `const` in strict mode. Unfortunately, some of us are stuck with Safari 9 due to not being able to upgrade. I am a big fan of progressive enhancement, but because all javascript code is packed together and sent off to the client, this small incompatibility breaks all javascript for safari 9 browsers. Switching these two keywords makes everything work again. There are no other uses of `const` in the codebase as far as I can find. This change has little to no impact on anything else, but slighlty extends the range of supported browsers.
-
- Jun 08, 2018
-
-
Christian McKenna authored
-
Michael Große authored
-
Michael Große authored
Plugins may want to add further fields to be present when saving drafts. Plugins may want to execute some js functionality that should be timed to the saved draft/refreshed lock. If a plugin does another init() to attach the dw_locktimer to its own editor, then the default callback would be added a second time, causing unexpected and undesired behavior. This includes the changes from the following commits: 6ef45cc1 6ca947f3 0fff419c 87bed8b6
-
Michael Große authored
This change is useful for plugins that may want to implement their own toolbar (and thus hide the default toolbar), but still would like to let the locktimer set the draft status.
-
- Jun 07, 2018
-
-
Andreas Gohr authored
Safemode has been removed in PHP 5.4.0. We finally no longer need to deal with this insanity.
-
- May 22, 2018
-
-
Andreas Gohr authored
These shouldn't be there anymore since the plugins have been deleted
-
- May 18, 2018
-
-
Sebastian Engel authored
-
- May 16, 2018
-
-
Stefano authored
-
Martin Hořínek authored
-
Marian Banica authored
-
Michael Große authored
-
Michael Große authored
-
Michael Große authored
-