------------------------------------------------------------ revno: 1111 committer: Lars Helge Overland <larshe...@gmail.com> branch nick: dhis2-docbook-docs timestamp: Thu 2014-06-26 17:29:25 +0200 message: Docs me/authorization modified: src/docbkx/en/dhis2_user_man_web_api.xml
-- lp:~dhis2-documenters/dhis2/dhis2-docbook-docs https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs. To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-24 19:25:41 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-26 15:29:25 +0000 @@ -4331,7 +4331,7 @@ </section> </section> <section> - <title>User information and associations</title> + <title>Current user information and associations</title> <para>In order to get information about the currently authenticated user and its associations to other resources you can work with the <emphasis role="italic">me</emphasis> resource (you can also refer to it by its old name <emphasis role="italic">currentUser</emphasis>). The current user related resources gives your information which is useful when building clients for instance for data entry and user management. The following describes these @@ -4348,6 +4348,8 @@ role="italic">GET</emphasis> to retrieve profile and <emphasis role="italic">POST</emphasis> to update profile (the exact same format is used):</para> <screen>/api/me/user-account</screen> + <para>Returns the set of authorities granted to the current user:</para> + <screen>/api/me/authorization</screen> <para>Returns true or false, indicating whether the current user has been granted the given <auth> authorization:</para> <screen>/api/me/authorization/<auth></screen>
_______________________________________________ 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