Actual resultGoogleAnalytics class gets the first account id in the list of available accounts, same goes to webproperties (resources) and views.
Expected result
Having this behavior configurable through environment variables and application.properties.
If they are not overridden, we could fall back to the previous behavior.
Why is this an issue
If somebody mentions our service account as a viewer for analytics in another project, our analytics in Dokazovi might become broken and start showing analytics for that another website.
Actual result
GoogleAnalytics
class gets the first account id in the list of available accounts, same goes to webproperties (resources) and views.Expected result Having this behavior configurable through environment variables and
application.properties
. If they are not overridden, we could fall back to the previous behavior.Why is this an issue If somebody mentions our service account as a viewer for analytics in another project, our analytics in Dokazovi might become broken and start showing analytics for that another website.
Labels to be added "bug", "API"/"backend"