Description
As a functionmaintainer and functioneer user, when trying to edit a detached implementation, I get the following error:
{
"error": {
"code": "wikilambda-zerror",
"info": "ZError of type Z557",
"message": "User does not have permission to edit",
"zerror": {
"Z1K1": "Z5",
"Z5K1": "Z557",
"Z5K2": {
"Z1K1": {
"Z1K1": "Z7",
"Z7K1": "Z885",
"Z885K1": "Z557"
},
"K1": "You are not allowed to execute the action you have requested."
}
},
"labelled": {
"type": "Error",
"error type": "User does not have permission to edit",
"error value": {
"type": {
"type": "Function call",
"function": "Errortype to type",
"errortype": "User does not have permission to edit"
},
"message": "You are not allowed to execute the action you have requested."
}
},
"docref": "See http://localhost:8080/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
},
"servedby": "0c551529cc96"
}Expected behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- Any users can change an implementation that’s not attached, even if it’s an implementation for ANY function (builtin or user)
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist