User Changed webhook: add 'nickname' and 'old_nickname' #93582
No reviewers
Labels
No Label
legacy project
Infrastructure: blender.org
legacy project
Infrastructure: Websites
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status::Confirmed
Status
Duplicate
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/blender-id#93582
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "webhook/gitea-username"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Monitor users' nicknames, send out a 'user changed' webhook when it changes, and include the nickname in the webhook payload.
This also adds an
old_nickname
field to the 'user changed' webhook payload. This is necessary for the Gitea user renaming logic (see infrastructure/blender-projects-platform#1) . Since Blender ID is more lenient with allowed characters, the username on Gitea and the nickname on Blender ID will not exactly match. To detect whether a rename of the Gitea user is actually required, the webhook needs to know whether the Blender ID nickname actually changed or not.over-the-shoulder approved by @fsiddi