Show Apps based on agent's role

I have been working on a full page app in Freshdesk, which shows a detailed reporting. This reporting has to be seen by only certain agents.
Currently, we are handling by checking the loggedin user role, and show the content based on it. But the downside is, the app still shows.
I would recommend providing up a settings within the app, through which we can configure, which user role to show the app.