Title: Message Title
|
|
|
At present platform has two separate entities to represent MFI employees, those are staff and user.
user: are employees who have login access to platform Ex: Data entry operator, Branch Manager, Accountant staff: are employees who have no access to platform. Ex: Loan Officer, field officer
But in many scenarios staff wants to access the platform (some MFI does not have data entry operator concept, instead loan officer has to do all the data entry related to his/her portfolio).
Also Check if the Office Id of Staff is Same as that of the User, if not throw an exception. -> DONE
APIs need be modified 1) Create user: Add an optional field staffId to associate existing staff to new user. -> DONE 2) Create Staff: Add an optional field to associate existing user to new staff. -> DONE 3) Edit User : reference POST/user/2?command=associate&staffId=12 -> Implemented using Update Action only : DONE 4) Edit User : POST/user/2?command=dissociate&staffId=12 -> Pass Null for StaffId and it will unlink the staff : DONE 5) Get user: should also return the staff id along with other details if a staff is associated with it -> DONE 6) Update User: add ability for user to update user's linked staff -> DONE
3 & 4 have been Implemented like this as per Vishwas's Suggestions.
|
|
|
|
|
|
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Mifos-issues mailing list
Mifos-issues@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-issues