fix/group-management-user-dropdown #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/group-management-user-dropdown"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The allUsers query and the per-audience members sub-query both filtered on whereNotNull('password_hash'). Proxy and none auth mode create users via upsertUser() which omits password_hash, so the dropdown was always empty in those modes. Remove both filters. Also passes userId to the audiences template so the New Group form correctly excludes the current user from the initial-members select. Adds three integration tests covering proxy-mode users in the dropdown, the userId exclusion, and adding a proxy-mode user as a member.