20#ifndef ORES_ACCOUNTS_EVENTING_PERMISSIONS_CHANGED_EVENT_HPP
21#define ORES_ACCOUNTS_EVENTING_PERMISSIONS_CHANGED_EVENT_HPP
26#include <boost/uuid/uuid.hpp>
27#include "ores.eventing/domain/event_traits.hpp"
29namespace ores::accounts::eventing {
61namespace ores::eventing::domain {
68 static constexpr std::string_view name =
"ores.accounts.permissions_changed";
ORE Studio - Graphical interface and data management for Open Source Risk Engine.
Definition account.hpp:26
Domain event indicating that an account's effective permissions have changed.
Definition permissions_changed_event.hpp:39
boost::uuids::uuid account_id
The account whose permissions changed.
Definition permissions_changed_event.hpp:43
std::chrono::system_clock::time_point timestamp
The timestamp of when the change occurred (in UTC).
Definition permissions_changed_event.hpp:56
std::vector< std::string > permission_codes
The new set of effective permission codes.
Definition permissions_changed_event.hpp:51
Traits template for mapping event types to their logical names.
Definition event_traits.hpp:44