I am working on an admin panel where you can give roles and groups to users.
Nothing hard in that. The thing is that I use the Roles package and to get all groups I have to call Roles.getAllRoles(); on the server.
I would like to be able to publish that, but how ? What do I call on the client once he’s subscribed ?