-
Notifications
You must be signed in to change notification settings - Fork 49
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
fix: propagate group name changes #1829
Conversation
I am not sure I see the the purpose of this change. the name only stores groupid, not the display name |
@st3iny @ArtificialOwl can you provide each other a bit more context to move this PR forward, thank you very much 🙏 |
I linked the issue in the PR description. The issue contains concrete steps to reproduce the problem. My observations: Renaming a group does not trigger renaming the mapped group inside circles. Somehow, it seems that the group rename event is not listened to and handled. |
From the ticket: Steps to reproduce
Observe that the group is still listed with the former name Expected behaviourThe new name should be used in Circles. Actual behaviourThe initial user group name is used everywhere which is confusing. Server configurationNextcloud version: master (as of today) |
dde3a4e
to
83d3dbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look sane and renaming groups does work correctly with the changes checked out.
@st3iny cs-fixer is unhappy |
Signed-off-by: Richard Steinmetz <[email protected]> Signed-off-by: Maxence Lange <[email protected]>
Signed-off-by: Maxence Lange <[email protected]>
83d3dbc
to
528129b
Compare
My attempt to fix #1828
Does not fully solve the linked issue.
Remaining problem: Existing members are not updated. Only the group circle.