As an admin, I write a Data Explorer query. From that query, I can administer the groups with access to it.
But if I just copy/paste the URL from the query itself to share, my target audience gets 403’d because what I see is the admin/edit URL and they don’t have that much access.
So to share my query, I have to go to
Groups → [target group] → Reports → [scroll through randomly(?) ordered list] → [click on report] → Copy/paste that URL
How about either making the admin/edit URL view-only to non-privileged users or giving me an easy “get the URL” button on my admin UI?
i can’t imagine adding a button there would be too much work. i think the link to the report for the group will always the query number (you can see it in the admin query page URL) at the end of /g/[group-name]/reports/. so a report at /admin/plugins/discourse-data-explorer/queries/-15?params=null should be at /g/[group-name]/reports/-15. since queries can be shared with multiple groups, the share link would need to accommodate that somehow to generate a distinct link for each group - i think seeing the groups listed as well would help, since it is theoretically possible you may not want to share the link with all groups in the list.
i may take a stab at a PR for this later today if i am adventurous and my job searching continues to be futile.