20#ifndef ORES_COMMS_SHELL_APP_COMMANDS_RBAC_COMMANDS_HPP
21#define ORES_COMMS_SHELL_APP_COMMANDS_RBAC_COMMANDS_HPP
24#include "ores.logging/make_logger.hpp"
25#include "ores.comms/net/client_session.hpp"
33namespace ores::comms::shell::app::commands {
43 inline static std::string_view logger_name =
44 "ores.comms.shell.app.commands.rbac_commands";
48 static auto instance = make_logger(logger_name);
104 std::string role_identifier);
122 std::string account_id, std::string role_id);
136 std::string account_id, std::string role_id);
149 std::string account_id);
162 std::string account_id);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Manages commands related to RBAC (Role-Based Access Control).
Definition rbac_commands.hpp:41
static void process_list_roles(std::ostream &out, comms::net::client_session &session)
Process a list roles request.
Definition rbac_commands.cpp:159
static void process_assign_role(std::ostream &out, comms::net::client_session &session, std::string account_id, std::string role_id)
Process an assign role request.
Definition rbac_commands.cpp:231
static void process_get_account_roles(std::ostream &out, comms::net::client_session &session, std::string account_id)
Process a get account roles request.
Definition rbac_commands.cpp:321
static void process_get_account_permissions(std::ostream &out, comms::net::client_session &session, std::string account_id)
Process a get account permissions request.
Definition rbac_commands.cpp:352
static void register_commands(cli::Menu &root_menu, comms::net::client_session &session)
Register RBAC-related commands.
Definition rbac_commands.cpp:99
static void process_list_permissions(std::ostream &out, comms::net::client_session &session)
Process a list permissions request.
Definition rbac_commands.cpp:134
static void process_revoke_role(std::ostream &out, comms::net::client_session &session, std::string account_id, std::string role_id)
Process a revoke role request.
Definition rbac_commands.cpp:276
static void process_get_role(std::ostream &out, comms::net::client_session &session, std::string role_identifier)
Process a get role request.
Definition rbac_commands.cpp:180
Client-side session manager providing auth-aware request handling.
Definition client_session.hpp:125