Hello community, here is the log from the commit of package webyast-roles-ui for openSUSE:Factory checked in at Fri May 27 15:42:30 CEST 2011. -------- --- webyast-roles-ui/webyast-roles-ui.changes 2011-05-26 11:37:50.000000000 +0200 +++ /mounts/work_src_done/STABLE/webyast-roles-ui/webyast-roles-ui.changes 2011-05-27 15:23:03.000000000 +0200 @@ -1,0 +2,6 @@ +Fri May 27 13:13:30 UTC 2011 - schubi@novell.com + +- full_name will be generated with enabled ldap only (bnc#696501) +- 0.2.14 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webyast-roles-ui.spec ++++++ --- /var/tmp/diff_new_pack.isOAuF/_old 2011-05-27 15:41:31.000000000 +0200 +++ /var/tmp/diff_new_pack.isOAuF/_new 2011-05-27 15:41:31.000000000 +0200 @@ -27,7 +27,7 @@ Group: Productivity/Networking/Web/Utilities Url: http://en.opensuse.org/Portal:WebYaST AutoReqProv: on -Version: 0.2.13 +Version: 0.2.14 Release: 1 Summary: WebYaST - Roles management UI Source: www.tar.bz2 ++++++ www.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/controllers/roles_controller.rb new/www/app/controllers/roles_controller.rb --- old/www/app/controllers/roles_controller.rb 2011-05-20 12:51:40.000000000 +0200 +++ new/www/app/controllers/roles_controller.rb 2011-05-27 14:59:18.000000000 +0200 @@ -52,9 +52,13 @@ all_permissions = all_permissions.collect {|p| PrefixedPermission.new(p.id, p.description)} # create an [[key,value]] array of prefixed permissions, where key is the prefix @prefixed_permissions = PrefixedPermissions.new(all_permissions).sort - #@all_users_string = (User.find(:all,:params => {:getent => "1"}).collect {|user| user.login}).sort - #@all_users = User.find(:all,:params => {:getent => "1"}).collect {|u| u.full_name} - @users = User.find(:all, :params => {:getent => "1"}).collect {|u| [u.login, u.full_name]}.sort + @users = User.find(:all, :params => {:getent => "1"}).collect {|u| + if u.respond_to?('full_name') + [u.login, u.full_name ] + else + [u.login, "" ] + end + }.sort end # Update time handler. Sets to backend new timezone and time. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org