#
c8f55459 |
| 08-Sep-2025 |
Damien Regad <dregad@mantisbt.org> |
Replace hardcoded message by localized string
Fixes #4507
|
#
abc2dfe1 |
| 25-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
user manager: explicitly set CSV parameters
This is needed since PHP 8.4
|
#
53c68e5c |
| 22-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
replace deprecated utf8_encode #4354
|
#
6547cfc7 |
| 31-Aug-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
use $auth instanceof AuthPlugin instead of not null check
|
#
26dfc232 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Rector to rename print to echo calls
|
#
a664aaba |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: ptln removed, useradmin cleanup
|
#
7d34963b |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow line breaks
|
#
177d6836 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow whitespaces
|
#
51ee2399 |
| 30-Aug-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
update some plugin classes in phpdocs, reformatting
|
#
a19c9aa0 |
| 30-Aug-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
recover comments in list
|
#
d868eb89 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
codestyle adjustments: function declaration braces/spaces
|
#
8553d24d |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector renames
|
#
bf9be0e3 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply remaining rector fixes to lib
|
#
54cc7aa4 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to the rest of lib/plugin
|
#
8cbc5ee8 |
| 10-Jun-2019 |
Andreas Gohr <andi@splitbrain.org> |
replaced deprecated utf8 functions
For now this uses full qualified namespaces, sensible imports may come later.
|
#
923e149a |
| 15-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Merge branch 'master' into psr2
|
#
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 ...
|
#
3a97d936 |
| 11-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
PSR-2 for usermanager plugin
|
#
64159a61 |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
line lengths shortened
This makes sure all files use line lenghts shorter than 120 characters.
This is a quick fix. It might not always be the nicest change.
|
#
b4f2363a |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
remove DOKU_INC checks
There is no need for this check, since these files should not have any main code that is executed on direct call.
Fixes PSR1.Files.SideEffects.FoundWithSymbols
|
#
d0c0a5c4 |
| 19-Apr-2016 |
Anika Henke <anika@selfthinker.org> |
removed implementation of _getcsv() in usermanager
Our minimum PHP version requirement is now over 5.3, so this workaround is not needed anymore. See also c9454ee3a82b29418a7ee59f0bb35006ea6a7fb1
|
#
9b82d43f |
| 27-Nov-2015 |
Andreas Gohr <andi@splitbrain.org> |
add required attributes in user manager #1388
|
#
09a5dcd6 |
| 27-Oct-2015 |
Michael Große <grosse@cosmocode.de> |
Show specific error messages if user creation fails
|
#
76c49356 |
| 02-Sep-2015 |
Mike Wilmes <mwilmes@avc.edu> |
* Fixed identified issue with button spans by replacing missing closing span tag as identified by selfthinker, removed in ae61441.
|
#
3c6ca1b7 |
| 01-Sep-2015 |
Mike Wilmes <mwilmes@avc.edu> |
* Changed the flow of the navigation button HTML so the navigation buttons actually flow to the right.
|