nextcloud/settings/ajax
Lukas Reschke becde58952
Add sudo mode to enabling and disabling apps
Otherwise an administrator could bypass sudo mode by installing an app that allows RCE by design. I've by intention excluded the update endpoint from the requirement because updating apps should be as unintruisive as possible.

Not the cleanest approach by adding this to the AJAX endpoints instead of requiring a controller but for 11 this felt safer for me. We can clean this up together later then. (also the other AJAX endpoints in this folder do have the same logic)

Ref https://github.com/nextcloud/server/issues/2487

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-05 15:12:28 +01:00
..
disableapp.php Add sudo mode to enabling and disabling apps 2016-12-05 15:12:28 +01:00
enableapp.php Add sudo mode to enabling and disabling apps 2016-12-05 15:12:28 +01:00
installapp.php Add sudo mode to enabling and disabling apps 2016-12-05 15:12:28 +01:00
navigationdetect.php Update with robin 2016-07-21 18:13:58 +02:00
setquota.php Require password confirmation to change the Quota 2016-11-18 12:10:51 +01:00
togglegroups.php Require password confirmation for user management 2016-11-18 12:10:50 +01:00
togglesubadmins.php Require password confirmation for user management 2016-11-18 12:10:50 +01:00
uninstallapp.php Add sudo mode to enabling and disabling apps 2016-12-05 15:12:28 +01:00
updateapp.php Add update support 2016-10-31 17:17:47 +01:00