mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
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
This commit is contained in:
1 parent
9f0438fdb9
commit
9461a882d5
1 file changed
+8
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user