ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
role_assigned_event Struct Referencefinal

Domain event indicating that a role has been assigned to an account. More...

#include <role_assigned_event.hpp>

Collaboration diagram for role_assigned_event:
Collaboration graph

Public Attributes

boost::uuids::uuid account_id
 The account that received the role.
 
boost::uuids::uuid role_id
 The role that was assigned.
 
std::chrono::system_clock::time_point timestamp
 The timestamp of when the assignment occurred (in UTC).
 

Detailed Description

Domain event indicating that a role has been assigned to an account.

This event is published when a role is assigned to an account. Subscribers can use this to invalidate cached permissions or update session information.