Skip to content

New BeforeGroupChangedEvent before setDisplayName on groups - #36792

Merged
julien-nc merged 1 commit into
masterfrom
enh/noid/add-before-group-changed-event
Feb 21, 2023
Merged

New BeforeGroupChangedEvent before setDisplayName on groups#36792
julien-nc merged 1 commit into
masterfrom
enh/noid/add-before-group-changed-event

Conversation

@julien-nc

Copy link
Copy Markdown
Member

This could be useful to let apps prevent renaming of some groups.
This was mentioned by the developers of the OpenProject integration.

@miaulalala Why isn't the old value passed to the GroupChangedEvent?
https://github.com/nextcloud/server/blob/master/lib/private/Group/Group.php#L116

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-ncjulien-nc added this to the Nextcloud 26 milestone Feb 21, 2023
@julien-nc
julien-nc requested review from a team, ArtificialOwl, blizzz, icewind1991 and miaulalala and removed request for a teamFebruary 21, 2023 09:43

@miaulalalamiaulalala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To answer your question: I'm not sure, must have been an oversight.

PR looks good!

@julien-nc

Copy link
Copy Markdown
MemberAuthor

Thanks for the reviews!

Psalm failure is unrelated.

@julien-nc
julien-nc merged commit a789288 into masterFeb 21, 2023
@julien-nc
julien-nc deleted the enh/noid/add-before-group-changed-event branch February 21, 2023 16:22
juliusknorr added a commit that referenced this pull request Feb 21, 2023
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr

Copy link
Copy Markdown
Member

Drone failure was related. Pushed updated autoloaders in #36799

max-nextcloud added a commit that referenced this pull request Feb 21, 2023
@skjnldsvskjnldsv mentioned this pull request Feb 23, 2023
RonaldBarnes pushed a commit to RonaldBarnes/NextCloud-server that referenced this pull request Mar 1, 2023
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@julien-nc@juliusknorr@icewind1991@miaulalala