Files
wekan/server
Lauri Ojansivu d560e2fcf8 Make LDAP- and OIDC-synced team members members of the team's boards.
A user added to a team becomes a normal member of the boards that team is
assigned to (#4593, addUserToTeamBoards). The Admin Panel paths did that,
but the login providers' group syncs - LDAP_SYNC_TEAMS and OIDC groups with
PROPAGATE_OIDC_DATA - pushed the team onto the user with a plain $push. Such
users could see the team's boards but not work on them. Both now run the same
board sync after adding a team: LDAP imports it, and the wekan-oidc package,
which cannot import app code, reaches it through a global as it already
reaches authEnv.

tests/teamBoardsFromLoginSync.test.cjs pins both paths and fails if any code
pushes a team onto a user without the board sync; the OIDC concurrency test
now checks each concurrent login syncs only its own team's boards.

Thanks to xet7 !
2026-10-08 11:43:32 +03:00
..
2026-03-22 17:17:48 +02:00
2021-06-14 15:11:21 +02:00