
The change introduced in #2150 introduces a bug where a Team would be re-created every time a user logs in, as the check if a team already exists was based on both the unique `oidcID` and the `name`. This PR proposes to only base the check on the ID, as this should be unique. Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com> Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2152 Reviewed-by: konrad <k@knt.li> Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de> Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
36 lines
635 B
YAML
36 lines
635 B
YAML
- id: 1
|
|
name: testteam1
|
|
description: Lorem Ipsum
|
|
created_by_id: 1
|
|
- id: 2
|
|
name: testteam2_read_only_on_project6
|
|
created_by_id: 1
|
|
- id: 3
|
|
name: testteam3_write_on_project7
|
|
created_by_id: 1
|
|
- id: 4
|
|
name: testteam4_admin_on_project8
|
|
created_by_id: 1
|
|
- id: 8
|
|
name: testteam8
|
|
created_by_id: 7
|
|
- id: 9
|
|
name: testteam9
|
|
created_by_id: 7
|
|
- id: 10
|
|
name: testteam10
|
|
created_by_id: 7
|
|
- id: 11
|
|
name: testteam11
|
|
created_by_id: 7
|
|
- id: 12
|
|
name: testteam12
|
|
created_by_id: 7
|
|
- id: 13
|
|
name: testteam13
|
|
created_by_id: 7
|
|
- id: 14
|
|
name: testteam14
|
|
created_by_id: 7
|
|
oidc_id: 14
|
|
issuer: "https://some.issuer" |