← Back to team overview

dhis2-devs team mailing list archive

Re: User logged out when creating from API

 

Hi,

Support for creation/update of users is now available in 2.15. The format
is the same as before (see output from /api/users), just that the password
part will be encoded for every POST/PUT.

Please try it out, and report back any issues

--
Morten


On Tue, Apr 1, 2014 at 8:19 PM, Kiran Prakash <kprakash@xxxxxxxxxxxxxxxx>wrote:

> Ok. Thanks, Is there a branch on Launchpad that has the User resource
> creation API that we can have a look at and start developing against?
>
>
> On Tue, Apr 1, 2014 at 6:06 PM, Lars Helge Øverland <larshelge@xxxxxxxxx>wrote:
>
>> Cool.
>>
>>
>> On Tue, Apr 1, 2014 at 2:29 PM, Kiran Prakash <kprakash@xxxxxxxxxxxxxxxx>wrote:
>>
>>> Yes. We can do that.
>>>
>>> Thanks Lars!
>>>
>>>
>>> On Tue, Apr 1, 2014 at 5:50 PM, Lars Helge Øverland <larshelge@xxxxxxxxx
>>> > wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Tue, Apr 1, 2014 at 2:09 PM, Kiran Prakash <
>>>> kprakash@xxxxxxxxxxxxxxxx> wrote:
>>>>
>>>>> Ok. Thanks a lot.
>>>>>
>>>>> We're facing the same issue with UserSetting object as well. Is there
>>>>> a way for admin user to UserSetting for another user using API without
>>>>> admin being logged out?
>>>>>
>>>>>
>>>> Understand. It's not supported but is easy to add, we can fix it in in
>>>> day or two.
>>>>
>>>> Let me know if you feel like writing a patch, classes to touch
>>>> are DefaultUserSettingService.java (dhis-service-core)
>>>> and UserSettingController.java (dhis-web-api).
>>>>
>>>> Lars
>>>>
>>>>
>>>>
>>>
>>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References