Fix confusing comment in PermissionManager::checkUserConfigPermissions

Bug: T233510
Change-Id: I4167896cff8fd37073cad932da3466f7566269f4
This commit is contained in:
DannyS712 2019-09-22 04:29:14 +00:00
parent db3a8beb77
commit 28b8ac1c55

View file

@ -1170,7 +1170,7 @@ class PermissionManager {
}
}
} else {
// Users need editmyuser* to edit their own CSS/JSON/JS subpages, except for
// Users need edituser* to edit others' CSS/JSON/JS subpages, except for
// deletion/suppression which cannot be used for attacks and we want to avoid the
// situation where an unprivileged user can post abusive content on their subpages
// and only very highly privileged users could remove it.