That code is located in AbstractCrudController -- Morten
On Mon, Apr 14, 2014 at 3:05 PM, Mahendra Kariya < mahendra.kar...@thoughtworks.com> wrote: > Hi Morten, > > Thank you for the prompt reply. > I don't see any code (in trunk) in UserController.java that supports the > delete functionality. Could you please tell us when should we expect to > have this in trunk? > > We will submit a patch for point 2 ASAP. > > > > Thanks, > Mahendra > *Thought*Works > > > > On Mon, Apr 14, 2014 at 12:57 PM, Morten Olav Hansen > <morte...@gmail.com>wrote: > >> >>> 1. Is there an any way to delete a user using the API? >>> >>> You should be able to delete a user by doing a DELETE request to >> /api/users/UID in 2.15, be aware that there might be some foreign keys etc >> getting in the way, so another solution might be to disable the user >> >> >>> >>> 1. We want "admin" user to update the details of other users using >>> the API. Currently it requires the password of the user which is getting >>> updated. Without the user's password, "admin" can't do an update. Is >>> there >>> any other way to do it? >>> >>> Currently, no.. but it should be trivial to include a parameter, >> "ignorePassword" or something like that.. that would simply continue using >> the old password, feel free to provide a patch :-) >> >> -- >> Morten >> >> >>> >>> 1. >>> >>> >>> If the community feels both these cases are general enough to be >>> included in DHIS, we would like to submit patches in case this >>> functionality is not available. >>> >>> >>> >>> Thanks, >>> Mahendra >>> *Thought*Works >>> >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp