|
ORE Studio 0.0.4
|
Represents an atomic permission that can be granted to roles. More...
#include <permission.hpp>

Public Attributes | |
| utility::uuid::tenant_id | tenant_id = utility::uuid::tenant_id::system() |
| Tenant identifier for multi-tenancy isolation. | |
| boost::uuids::uuid | id |
| Unique identifier for the permission. | |
| std::string | code |
| Permission code following the format "component::resource:action". | |
| std::string | description |
| Human-readable description of what this permission allows. | |
Represents an atomic permission that can be granted to roles.
Permissions follow a hierarchical naming convention: "component::resource:action" (e.g., "iam::accounts:create").
Wildcard permissions:
| std::string code |
Permission code following the format "component::resource:action".
Examples: "iam::accounts:create", "refdata::currencies:read". Use "*" for wildcard (all permissions).