Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add occ user:user:sync-account-data for updating oc_accounts information from user backends #38298

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented May 16, 2023

Summary

This can be useful in cases where the state between user backend and oc_accounts has become inconsistent.

Usually the account data is updated once the change on the user backend is detected. Potential leftovers from older bugs
(nextcloud/user_saml#582) might though never get updated. This could lead to the contacts menu never showing the correct display name. The contacts menu is read from the system address book, which is only updated from oc_accounts.

Checklist

@szaimen szaimen added the 2. developing Work in progress label May 16, 2023
@szaimen szaimen added this to the Nextcloud 28 milestone May 16, 2023
@juliusknorr juliusknorr marked this pull request as ready for review June 6, 2023 07:55
@juliusknorr juliusknorr requested review from ChristophWurst, a team, ArtificialOwl, icewind1991 and blizzz and removed request for a team June 6, 2023 07:55
@juliusknorr juliusknorr added bug 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jun 6, 2023
…tion from user backends

This can be useful in cases where the state between user backend and
oc_accounts has become inconsistent.

Usually the account data is updated once the change on the user backend
is detected. Potential leftovers from older bugs
(nextcloud/user_saml#582) might though never get
updated. This could lead to the contacts menu never showing the correct
display name. The contacts menu is read from the system address book,
which is only updated from oc_accounts.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@miaulalala miaulalala merged commit 5805ccd into master Aug 28, 2023
@miaulalala miaulalala deleted the enh/occ-sync-account-data branch August 28, 2023 13:11
@kesselb
Copy link
Contributor

kesselb commented Oct 2, 2023

@ChristophWurst @miaulalala can we backport to 27?

@ChristophWurst
Copy link
Member

Is it critical? I'd usually vote against backporting features

@kesselb
Copy link
Contributor

kesselb commented Oct 3, 2023

/backport to stable27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants