20#ifndef ORES_IAM_EVENTING_ACCOUNT_PERMISSIONS_CHANGED_EVENT_HPP
21#define ORES_IAM_EVENTING_ACCOUNT_PERMISSIONS_CHANGED_EVENT_HPP
26#include <boost/uuid/uuid.hpp>
27#include "ores.eventing/domain/event_traits.hpp"
71 static constexpr std::string_view name =
"ores.iam.account_permissions_changed";
ORE Studio - Graphical interface and data management for Open Source Risk Engine.
Definition image.hpp:27
Domain types for the eventing infrastructure.
Definition assets_changed_event.hpp:57
Event types for the IAM module.
Definition account_changed_event.hpp:28
Traits template for mapping event types to their logical names.
Definition event_traits.hpp:44
Domain event indicating that an account's effective permissions have changed.
Definition account_permissions_changed_event.hpp:42
boost::uuids::uuid account_id
The account whose permissions changed.
Definition account_permissions_changed_event.hpp:46
std::chrono::system_clock::time_point timestamp
The timestamp of when the change occurred (in UTC).
Definition account_permissions_changed_event.hpp:59
std::vector< std::string > permission_codes
The new set of effective permission codes.
Definition account_permissions_changed_event.hpp:54