Skip to content

Fix query to check user group membership#273

Merged
rimas-kudelis merged 2 commits into
vexim:masterfrom
tavil85:bug/group-is_public
Jun 28, 2026
Merged

Fix query to check user group membership#273
rimas-kudelis merged 2 commits into
vexim:masterfrom
tavil85:bug/group-is_public

Conversation

@tavil85

@tavil85 tavil85 commented Oct 28, 2021

Copy link
Copy Markdown
Contributor

This query does not check if the user is a member of the group. Instead
it returns the username for each group it belongs to.

ali and others added 2 commits October 19, 2021 13:30
This query does not check if the user is a member of the group. Instead
it returns the username for each group it belongs to.
@runout-at

Copy link
Copy Markdown
Contributor

It seems this will be solved by #285 too. Can someone confirm this. The rewrite uses a different approach for the complete query.

@rimas-kudelis

Copy link
Copy Markdown
Collaborator

Let's be realistic: #285 might not happen anytime soon, or at all. If we have errors in our SQL syntax and PRs which fix those errors, I think we should merge the PRs.

I probably haven't merged this in because I'm not using groups and was too lazy to set some up just to test that this PR does what it says it does.

@rimas-kudelis rimas-kudelis merged commit 3a94cd3 into vexim:master Jun 28, 2026
@rimas-kudelis

Copy link
Copy Markdown
Collaborator

@tavil85, thanks for the patch and sorry for taking so long!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants