PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
role.h File Reference

Role definitions for RBAC. More...

#include <string>
#include <string_view>
#include <optional>
Include dependency graph for role.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::security
 

Enumerations

enum class  kcenon::pacs::security::Role {
  kcenon::pacs::security::Viewer , kcenon::pacs::security::Technologist , kcenon::pacs::security::Radiologist , kcenon::pacs::security::Administrator ,
  kcenon::pacs::security::System
}
 User roles in the PACS system. More...
 

Functions

constexpr std::string_view kcenon::pacs::security::to_string (Role role)
 Convert Role to string.
 
std::optional< Rolekcenon::pacs::security::parse_role (std::string_view str)
 Parse Role from string.
 

Detailed Description

Role definitions for RBAC.

Author
kcenon
Since
1.0.0

Definition in file role.h.