20#ifndef ORES_QT_ROLE_DETAIL_DIALOG_HPP
21#define ORES_QT_ROLE_DETAIL_DIALOG_HPP
24#include "ores.iam/domain/role.hpp"
25#include "ores.qt/ClientManager.hpp"
26#include "ores.qt/DetailDialogBase.hpp"
27#include "ores.logging/make_logger.hpp"
31class RoleDetailDialog;
49 inline static std::string_view logger_name =
50 "ores.qt.role_detail_dialog";
52 [[nodiscard]]
static auto& lg() {
54 static auto instance = make_logger(logger_name);
84 void populatePermissionsList();
87 std::unique_ptr<Ui::RoleDetailDialog> ui_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35
Represents a named collection of permissions that can be assigned to accounts.
Definition role.hpp:39
Base class for all detail dialogs.
Definition DetailDialogBase.hpp:54
Dialog widget for viewing role details.
Definition RoleDetailDialog.hpp:45
void setRole(const iam::domain::role &role)
Sets the role to display.
Definition RoleDetailDialog.cpp:43
const iam::domain::role & getRole() const
Gets the current role.
Definition RoleDetailDialog.hpp:74
void clearDialog()
Clears all form fields.
Definition RoleDetailDialog.cpp:61