|
ORE Studio 0.0.4
|
Domain event indicating that an account's effective permissions have changed. More...
#include <permissions_changed_event.hpp>

Public Attributes | |
| boost::uuids::uuid | account_id |
| The account whose permissions changed. | |
| std::vector< std::string > | permission_codes |
| The new set of effective permission codes. | |
| std::chrono::system_clock::time_point | timestamp |
| The timestamp of when the change occurred (in UTC). | |
Domain event indicating that an account's effective permissions have changed.
This event is published when the effective permissions of an account change due to role assignment, revocation, or modification of role permissions. It can be used to update session caches or notify clients.
| std::vector<std::string> permission_codes |
The new set of effective permission codes.
Contains the complete list of permission codes the account now has, after computing all roles and their associated permissions.