提交 9461a882 编写于 作者: D dwdyer

Fix for ISSUE#1284 (password field not displayed on user page when using...

Fix for ISSUE#1284 (password field not displayed on user page when using Hudson's own user database).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7262 71c3de6d-444a-0410-be80-ed276b4c234a
上级 9f0438fd
......@@ -18,4 +18,12 @@ public abstract class UserPropertyDescriptor extends Descriptor<UserProperty> {
* if the implementation choose not to add any property object for such user.
*/
public abstract UserProperty newInstance(User user);
/**
* Whether or not the described property is enabled in the current context.
* Defaults to true. Over-ride in sub-classes as required.
*/
public boolean isEnabled() {
return true;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册