Make "GetCurrentUserRoles" cover team roles

Jun 24, 2015 at 9:27 AM
Edited Jun 24, 2015 at 9:27 AM
the helpful methods "GetCurrentUserRoles" and "IsCurrentUserRole" should also retrieve roles that the user has via team memberships. Currently, if the user is a member of a team and that team has a role, this function will not find it.

I have found this code snippet helpful to retrieve these roles:

Get user roles and team roles
Jun 29, 2015 at 10:44 AM
Edited Jun 29, 2015 at 10:45 AM
Hi There.

Good suggestion. Will have a look and see what I can do in the next release.

Many thanks,