[yast-commit] r59996 - in /trunk/users: VERSION package/yast2-users.changes src/dialogs.ycp
Author: jsuchome Date: Tue Dec 8 10:39:23 2009 New Revision: 59996 URL: http://svn.opensuse.org/viewcvs/yast?rev=59996&view=rev Log: - show Enabled/Disable checkbox for LDAP users only when action is available (bnc#557714) - 2.19.2 Modified: trunk/users/VERSION trunk/users/package/yast2-users.changes trunk/users/src/dialogs.ycp Modified: trunk/users/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/VERSION?rev=59996&r1=59995&r2=59996&view=diff ============================================================================== --- trunk/users/VERSION (original) +++ trunk/users/VERSION Tue Dec 8 10:39:23 2009 @@ -1 +1 @@ -2.19.1 +2.19.2 Modified: trunk/users/package/yast2-users.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/package/yast2-users.changes?rev=59996&r1=59995&r2=59996&view=diff ============================================================================== --- trunk/users/package/yast2-users.changes (original) +++ trunk/users/package/yast2-users.changes Tue Dec 8 10:39:23 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Dec 8 10:37:37 CET 2009 - jsuchome@suse.cz + +- show Enabled/Disable checkbox for LDAP users only when action is + available (bnc#557714) +- 2.19.2 + +------------------------------------------------------------------- Mon Nov 30 14:37:51 CET 2009 - jsuchome@suse.cz - YaPI: call newaliases after updating aliases (bnc#559135) Modified: trunk/users/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/users/src/dialogs.ycp?rev=59996&r1=59995&r2=59996&view=diff ============================================================================== --- trunk/users/src/dialogs.ycp (original) +++ trunk/users/src/dialogs.ycp Tue Dec 8 10:39:23 2009 @@ -1651,6 +1651,15 @@ UI::ChangeWidget(`id(`autologin), `Value, false); } + // LDAP users can be disabled only with certain plugins (bnc#557714) + if (UI::WidgetExists (`id (`ena)) && user_type == "ldap") + { + boolean ena = ( + contains (user["plugins"]:[], "UsersPluginLDAPShadowAccount") || + contains (user["plugins"]:[], "UsersPluginLDAPPasswordPolicy")); + UI::ChangeWidget (`id (`ena), `Enabled, ena); + } + current = ret; } if (ret == `details) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org