diff options
Diffstat (limited to 'app/events/project_authorizations/authorizations_changed_event.rb')
-rw-r--r-- | app/events/project_authorizations/authorizations_changed_event.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/events/project_authorizations/authorizations_changed_event.rb b/app/events/project_authorizations/authorizations_changed_event.rb new file mode 100644 index 00000000000..24afae9d6fd --- /dev/null +++ b/app/events/project_authorizations/authorizations_changed_event.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module ProjectAuthorizations + class AuthorizationsChangedEvent < ::Gitlab::EventStore::Event + def schema + { + 'type' => 'object', + 'required' => %w[project_id], + 'properties' => { + 'project_id' => { 'type' => 'integer' } + } + } + end + end +end |