/api/schemas is also a good source of metadata authorities (especially those linked to the web-api).
-- Morten On Wed, Jun 10, 2015 at 5:27 PM, Abyot Gizaw <aby...@gmail.com> wrote: > Yes, I have a very rough document. I was hoping for us to clean it first > as there are lots of roles which are not in use currently. > > Probably better to put it 'as is' somewhere - as appendix in the > documentation? > > On Wed, Jun 10, 2015 at 12:11 PM Lars Helge Ă˜verland <larshe...@gmail.com> > wrote: > >> Hi, >> >> this is almost correct ;) The userroleauthorities table is a link table >> between userrole and authorities. So it will contain all available >> authorities only if you assume that all possible authorities have been >> assigned to one or more user roles. >> >> So a hack is to create a new user role in the system with all possible >> authorities and then do: >> >> select distinct authority from userroleauthorities; >> >> Abyot, >> >> did you start on a document outlining the authorities? >> >> regards, >> >> Lars >> >> >> >> _______________________________________________ >> 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 >> > -- > ---- > Thank you, > Abyot > > _______________________________________________ > 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 > >
_______________________________________________ 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