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

Public Attributes | |
| boost::uuids::uuid | id |
| Unique identifier for the permission. | |
| std::string | code |
| Permission code following the format "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 using colons as separators: "resource:action" (e.g., "accounts:create", "currencies:read"). The special code "*" represents all permissions (superuser).
| std::string code |
Permission code following the format "resource:action".
Examples: "accounts:create", "currencies:read", "flags:update". Use "*" for wildcard (all permissions).