keithwoodlock commented on Improvement MIFOSX-258

Sander, yes we could extend the reponse of the authentication API to also return the roles associated with application user.

At present https://localhost:8443/mifosng-provider/api/v1/authentication?username=mifos&password=password

would result in:

{
  "username": "mifos",
  "userId": 1,
  "base64EncodedAuthenticationKey": "bWlmb3M6cGFzc3dvcmQ=",
  "authenticated": true,
  "permissions": [
    "ALL_FUNCTIONS"
  ]
}

So we only returned the permissions associated with user as this is the most fined grained level of information and applications built on top of it can use as they wish, Roles however are dynamic (names can change, permissions under a role can change) and differ from MFI to MFI. So do you intend on having a set of pre-canned roles that the UI would be programmed against (rather than the finer grained permissions?)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to