Removing the check permission.
For Hudson's system level configuration, form field validation is only used during the configuration, so it should be equal to ADMINISTER permission. IOW, there's no circumstance in Hudson where having the CHECK permission but not ADMINISTER permission is useful. For project level configuration and things below, the permission needs to be checked against the lower-level object being configured (like Project), not Hudson. And in those cases, again the permission should equate to CONFIGURE. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9827 71c3de6d-444a-0410-be80-ed276b4c234a
Showing
想要评论请 注册 或 登录