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

Domain event indicating that permission definition data has changed. More...

#include <permission_changed_event.hpp>

Collaboration diagram for permission_changed_event:
Collaboration graph

Public Attributes

std::chrono::system_clock::time_point timestamp
 The timestamp of when the change occurred (in UTC).
 
std::vector< std::string > permission_ids
 IDs of permissions that changed.
 

Detailed Description

Domain event indicating that permission definition data has changed.

This event is published when any permission entity is created, updated, or deleted in the permissions table. Subscribers can use the timestamp to query for changes since that point.

Note: This is distinct from account_permissions_changed_event which signals changes to an account's effective permissions (due to role assignment).

Member Data Documentation

◆ timestamp

std::chrono::system_clock::time_point timestamp

The timestamp of when the change occurred (in UTC).

Clients can use this timestamp to query the database for entities that have changed since this point.

◆ permission_ids

std::vector<std::string> permission_ids

IDs of permissions that changed.

Contains the UUIDs (as strings) of permissions that were created, updated, or deleted. May contain multiple IDs for batch operations.