On Friday 04 March 2011 21:01:23 Cliff Perry wrote: > Milan Zazrivec wrote: > > On Friday 04 March 2011 18:34:15 Cliff Perry wrote: > >> Has this also been exposed within API call for user creation? :) > >> > >> Cliff > >> > >> <http://git.fedorahosted.org/git?p=spacewalk.git;a=commitdiff;h=b68c6807 > >> eac 4af8f86a2e6e5547e4977124de56c> > > > > Currently there's no API call to set user locale & timezone preferences. > > As a matter of fact, there's no API call to even find out what locales > > and timezones are available. > > Wow - your correct on all items. Weird gap in API functionality. > > > The original RFE -- as I understood it -- was about webui change only. > > You are correct. But it is always good development practice to > automatically add/enhance API's to match new abilities presented in UI > for users. > > > Was I wrong? If so, we're looking at four new API calls: listing > > available locales & timezones + updating user locale prefs. & timezone. > > So yeah, at a minimum we would update calls: > > user.create > - At time of creating user, include optional items - locale pref & > timezone > > user.getDetails > - when returning user details, include locale pref & timezone > > New: > user.listLocale > - provide a list of valid user locales > > user.listTimezone > - provide a list of valid user timezones > > user.setLocale > - input of user and locale, set new locale for user > > user.setTimezone > - input of user and timezone, set new timezone for user > > I'd love for this to be done as well, even if it was not part of the > original RFE request. Please let me know if it is more than 1/2 a day > per API to complete.
Nope, this shouldn't take more than half a day per single API call to implement. -Milan _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel