Unable to Allow Group Access to System Queries

AI-generated summary

Issue Summary: Unable to Allow Group Access to System Queries

A user, albert_vu, encountered an error when attempting to allow group access to a system query in the Data Explorer plugin. The error occurs after choosing a group and clicking accept.

However, Jagster reported a different issue where the :white_check_mark: and :x: icons do not disappear without reloading the page, but group access still works.

Rishabh acknowledged the report and JammyDodger further investigated the issue. It was found that the error only affects created by system queries that have not been run at least once. A temporary workaround is to run the query before attempting to make it available to a group.

The issue has since been fixed in Pull Request #185, as confirmed by JammyDodger.

Hi there, I’m currenly playing around with the Data Exporer plugin on my forum and in one of the settings “Allow groups to access this query”, after choosing the group and click accept :white_check_mark:, it popped up an error saying as per title.

1 Like

I didn’t got that error but :white_check_mark: and :x: don’t disappear without reloading the page. Group access works anyway.

My version is… I don’t really know, but like two days old.

Thank you for the report, we’re working on a fix :mag:

1 Like

There has been a bit of exploration over PM for this one, but just to report back here publicly too for anyone reading along at home… Interestingly, this seems to only affect created by system queries that have yet to be run at least once. A workaround for the short-term while we look into it further is to make sure the query is run before attempting to make it available to a group.

I’ll update here with more information when it’s available. :+1:

1 Like

This has been fixed :+1:

https://github.com/discourse/discourse-data-explorer/pull/185

3 Likes