For adding mail access rights a hard coded list of all available roles is used.
This is troublesome when new roles are created and old roles get deleted.
Instead all available roles should be received from another microservice (drops?) and it should be listened for changes to roles (nats?)
For adding mail access rights a hard coded list of all available roles is used. This is troublesome when new roles are created and old roles get deleted. Instead all available roles should be received from another microservice (drops?) and it should be listened for changes to roles (nats?)