Skip to content

web/admin: keep earlier picks when assigning users to a group - #27468

Merged
GirlBossRush merged 1 commit into
mainfrom
web/fix-group-assign-multiple-users
Nov 2, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
web/fix-group-assign-multiple-users

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR fixes the group/role "Assign Additional Users" form dropping earlier picks.

  • Merged each select users confirmation into the pending list by primary key instead of replacing it.
  • Updated the simple group browser test to pick two users in separate visits

Closes #27277

@netlify

netlify Bot commented Nov 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f4055f4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ae9056596de515732a43f0b
😎 Deploy Preview https://deploy-preview-27468--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Confirming the "Select users" dialog replaced the pending list in the
"Assign Additional Users" form, so a second visit to the dialog dropped
the users picked in the first. Each confirm now merges its selection into
the pending list by primary key. The role assignment path shares the form.

The "Simple group" browser test now picks two users in separate visits to
the selection dialog and asserts both are members after assignment.

Fixes #27277
@GirlBossRush
GirlBossRush force-pushed the web/fix-group-assign-multiple-users branch from f4055f4 to 14a09e8 Compare November 2, 2026 21:54
@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.80%. Comparing base (39a7d8d) to head (14a09e8).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27468      +/-   ##
==========================================
- Coverage   92.84%   92.80%   -0.04%     
==========================================
  Files        1211     1211              
  Lines       83335    83335              
  Branches     4686     4686              
==========================================
- Hits        77369    77343      -26     
- Misses       5890     5916      +26     
  Partials       76       76              
Flag Coverage Δ
conformance 30.73% <ø> (+<0.01%) ⬆️
e2e 35.52% <ø> (+<0.01%) ⬆️
integration 27.90% <ø> (-0.32%) ⬇️
rust 49.31% <ø> (ø)
unit 94.38% <ø> (+<0.01%) ⬆️
unit-migrate 94.38% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@GirlBossRush GirlBossRush self-assigned this Nov 2, 2026
@GirlBossRush GirlBossRush added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Nov 2, 2026
@GirlBossRush GirlBossRush added this to the Release 2026.11.0 milestone Nov 2, 2026
@GirlBossRush GirlBossRush added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Nov 2, 2026
@GirlBossRush
GirlBossRush marked this pull request as ready for review November 2, 2026 21:56
@GirlBossRush
GirlBossRush requested a review from a team as a code owner November 2, 2026 21:56

@kensternberg-authentik kensternberg-authentik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it when they're small and readable. :-)

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 41532614655 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-14a09e8580e3f1f7fe19fe15c8c9b7faa90ebcdd
# Distroless image: AUTHENTIK_TAG=gh-14a09e8580e3f1f7fe19fe15c8c9b7faa90ebcdd-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-14a09e8580e3f1f7fe19fe15c8c9b7faa90ebcdd
        # Distroless image: tag: gh-14a09e8580e3f1f7fe19fe15c8c9b7faa90ebcdd-distroless

Afterwards, run the upgrade commands from the latest release notes.

@GirlBossRush
GirlBossRush merged commit 7bc9d25 into main Nov 2, 2026
171 checks passed
@GirlBossRush
GirlBossRush deleted the web/fix-group-assign-multiple-users branch November 2, 2026 23:17
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.8 has conflicts: #27469

GirlBossRush added a commit that referenced this pull request Nov 4, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #27468
Original commit: 7bc9d25
GirlBossRush added a commit that referenced this pull request Nov 5, 2026
…-pick #27468 to version-2026.8) (#27469)

Cherry-pick #27468 to version-2026.8 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #27468
Original commit: 7bc9d25

Co-authored-by: Teffen Ellis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Features or issues related to the browser, TypeScript, Node.js, etc backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding multiple existing users to a group at once only adds a single user

2 participants