I am developing a plugin displaying a list of items. Some of these items needs to be highlighted if created by a certain team.
My idea is to attribute a specific role to the members of the team to distinguish them from other users, so I need to be able to check the roles of the active users when a new item is created.
Is there a way to retrieve this kind of information from the server-side or the client-side?
I tried server-side but adding
opendistro_security to the dependencies of my plugin prevents it to start.
We are using the version 18.104.22.168 of the OpenDistro plugins and the plugin I am working on uses the new plugin platform.