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
setquota.php
togglegroups.php
togglesubadmins.php
uninstallapp.php Add sudo mode to enabling and disabling apps 2016-12-05 15:12:28 +01:00
updateapp.php