Group Membership Information Not Retained on Organization Invite Creation #805

Closed
opened 2025-10-09 16:52:13 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @mbmy on GitHub.

Subject of the issue

Deployment environment

  • Vaultwarden version: v1.28.1
  • Web-vault version: v2023.3.0b
  • OS/Arch: linux/x86_64
  • Running within Docker: true (Base: Debian)
  • Environment settings overridden: true
  • Uses a reverse proxy: true
  • IP Header check: true (X-Real-IP)
  • Internet access: true
  • Internet access via a proxy: false
  • DNS Check: true
  • Browser/Server Time Check: true
  • Server/NTP Time Check: true
  • Domain Configuration Check: true
  • HTTPS Check: true
  • Database type: SQLite
  • Database version: 3.39.2
  • Clients used:
  • Reverse proxy and version:
  • Other relevant information:
  • Install method:
  • Reverse proxy and version: Caddy

Steps to reproduce

  1. Enable beta groups functionality
  2. Create a group
  3. Within an organization, send an invite to a user to join the organization with the group specified at the time of the invite
  4. The invite will not retain the group information and it will need to be readded.

Expected behaviour

With collections, an invite can be sent to a user with the collections set at the time of the invite so that when the join the org, the collection is visible. It would be nice if group membership information could mimic this behavior. Particularly, if the organization has a policy set to enforce 2FA before the user can be added to the org, you cannot go back and set the group membership after the invite goes out until they completely join.

Actual behaviour

The invite is sent to the user without the group membership. You can only add it after the user is enrolled (with 2FA enforcement policy enabled).

Originally created by @mbmy on GitHub. ### Subject of the issue <!-- Describe your issue here. --> ### Deployment environment * Vaultwarden version: v1.28.1 * Web-vault version: v2023.3.0b * OS/Arch: linux/x86_64 * Running within Docker: true (Base: Debian) * Environment settings overridden: true * Uses a reverse proxy: true * IP Header check: true (X-Real-IP) * Internet access: true * Internet access via a proxy: false * DNS Check: true * Browser/Server Time Check: true * Server/NTP Time Check: true * Domain Configuration Check: true * HTTPS Check: true * Database type: SQLite * Database version: 3.39.2 * Clients used: * Reverse proxy and version: * Other relevant information: * Install method: * Reverse proxy and version: Caddy ### Steps to reproduce 1. Enable beta groups functionality 2. Create a group 3. Within an organization, send an invite to a user to join the organization with the group specified at the time of the invite 4. The invite will not retain the group information and it will need to be readded. ### Expected behaviour With collections, an invite can be sent to a user with the collections set at the time of the invite so that when the join the org, the collection is visible. It would be nice if group membership information could mimic this behavior. Particularly, if the organization has a policy set to enforce 2FA before the user can be added to the org, you cannot go back and set the group membership after the invite goes out until they completely join. ### Actual behaviour The invite is sent to the user without the group membership. You can only add it after the user is enrolled (with 2FA enforcement policy enabled).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#805