The rename method can lead to very bad issues if it’s used with item that must not be renamed, the “isNameEditable” must be check before doing any rename action.
I am doing a PR with a unit test and a code change, I will update this JIRA just after.
The rename method can lead to very bad issues if it’s used with item that must not be renamed, the “isNameEditable” must be check before doing any rename action.
I am doing did a PR with a unit test and a code change, I will update this JIRA just after changes and unit tests: https://github.com/jenkinsci/jenkins/pull/4122