Respect the folder level permissions

(cherry picked from commit 3ae145cae13d4f64412bf2eb6e0b7e2fdc8a9a38)
Missed one permission check

(cherry picked from commit 9cfaa81579f3126f1aee617c96c0c8c51ac7a3cf)
[maven-release-plugin] prepare release cloudbees-folder-4.2.3