katalina-w Posted March 17, 2016 Report Posted March 17, 2016 Hi, I can't seem to figure out how to access the roles for a user in the new API. Is there a way to do this, or is that a feature still to be implemented? Thanks, Kat
Lucas Correia Posted March 18, 2016 Report Posted March 18, 2016 Hi Kat, We haven't added support for roles in the new API yet. We plan to address this soon. In the meantime, it should be possible to use the legacy API to retrieve roles. Out of curiosity, would accessing roles be sufficient for your use cases, or do you need to access the more granular permissions which makes up the roles as well? Regards, Lucas
katalina-w Posted March 18, 2016 Author Report Posted March 18, 2016 Hi Lucas, Good to hear it's planned - I can leave the legacy calls for now. Just accessing roles would be sufficient. For example, our task creation tool checks to see if a user is a project manager or admin before even presenting the UI. No point in allowing a normal user to load it as they can't create tasks. Thanks, Kat
Recommended Posts
Archived
This topic is now archived and is closed to further replies.