|
ORE Studio 0.0.4
|
Request to assign a role to an account. More...
#include <authorization_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< assign_role_request, comms::messaging::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Public Attributes | |
| boost::uuids::uuid | account_id |
| boost::uuids::uuid | role_id |
Request to assign a role to an account.
Requires admin privileges or roles:assign permission.
| std::vector< std::byte > serialize | ( | ) | const |
Serialize request to bytes.
Format: