During analytics setup flow when existing tag is found the plugin only verifies the user's access to the property when found through wp_head hook and not through the front end request.
The user should be blocked from continuing Analytics configuration if hasn't got access to the property found.

Expected:

_Do not alter or remove anything below. The following sections will be managed by moderators only._
Note: Work done previously on other issue and then split into new issue with opened PR https://github.com/google/site-kit-wp/pull/310
Add new datapoint tag-permission to make request in the case existing tag is found https://github.com/google/site-kit-wp/blob/develop/assets/js/modules/analytics/setup.js#L95
On the request to tag-permission check if user has access to the property and return response or
return WP_Error with expected message in the case the user has no permissions.
@ThierryA @marrrmarrr adding this to the definition board and noting that we already have a PR ready for this on.
@bjackson27 Which PR are you referring to?
@felixarntz the opened PR https://github.com/google/site-kit-wp/pull/310
Implementation brief looks good. Would generally be great to have more detail on how access is checked, but since there's already a PR that clarifies that, it's okay this time.
This is what I see when I output a tracking code in wp_head for a property that my user does not have access to:

@lucymtc This seems to be consistent with the acceptance criteria; has this been already fixed as a byproduct of another issue?
Using develop @ 5ba7ab9
@aaemnnosttv this issue is for when tag is hardcoded in the theme and not added through wp_head
@aaemnnosttv @swissspidy @lucymtc let's make sure Changelog entry is added on this issue.
Added a suggested changelog entry to the the issue:
Improved user access verification when encountering existing Analytics tags.
QA approved!
LGTM