Add instance-level webhooks - #10991
Open
Rwwwrl wants to merge 11 commits into
Open
Conversation
Rwwwrl
force-pushed
the
as/add-instance-type-webhook-notifications
branch
from
August 4, 2026 13:16
1574cff to
96b97bb
Compare
Rwwwrl
force-pushed
the
as/add-instance-type-webhook-notifications
branch
7 times, most recently
from
August 11, 2026 09:08
4bf7423 to
94a9e63
Compare
Rwwwrl
force-pushed
the
as/add-instance-type-webhook-notifications
branch
12 times, most recently
from
August 13, 2026 11:15
09b5dfc to
4cdf494
Compare
Rwwwrl
force-pushed
the
as/add-instance-type-webhook-notifications
branch
from
August 16, 2026 09:15
a2f74e4 to
4cfaf58
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title
Add instance-level webhooks and create:user event
Body
Motivation and context
Enterprise customers need a webhook when a user is created. CVAT previously only supported project- and organization-scoped webhooks, so there was no place to subscribe to instance-wide events such as user creation.
Adds
WebhookTypeChoice.INSTANCE(no project/org), configured only via Django admin. Instance event catalog:create:user,create:organization,delete:organization.create:useris dispatched from Djangopost_saveonUser(skipsrawandis_superuser). Public REST continues to reject/exclude instance webhooks.Breaking:
GET /api/webhooks/eventsnow requirestype(project|organization); the previous defaultallcatalog is removed. Lateruser.registered/user.verified/ first-login events are deferred.How has this been tested?
Checklist
developbranchLicense
Feel free to contact the maintainers if that's a concern.