Fixed authority of one writer over command classes and retained size. More...
#include <document_session.hpp>
Public Attributes | |
| std::uint64_t | allowed |
| One bit per class/intent pair, indexed by capability_bit. | |
| std::size_t | max_transaction_retained_bytes = std::numeric_limits<std::size_t>::max() |
| Largest retained size a single transaction from this writer may carry. | |
| std::size_t | max_session_retained_bytes = std::numeric_limits<std::size_t>::max() |
| Largest cumulative retained size this writer may commit to the session. | |
Fixed authority of one writer over command classes and retained size.
A default-constructed mask denies every destructive intent and imposes no quota. The no-argument registration overload explicitly uses unrestricted_capabilities() so existing trusted callers retain their prior authority. Quotas use the complete envelope-aware retained_size(const Transaction&) estimate. A commandless End/Cancel may close only the ephemeral gesture lifecycle without document publication, journaling, capability admission, or quota charge.
| std::uint64_t pulp::timeline::WriterCapabilityMask::allowed |
One bit per class/intent pair, indexed by capability_bit.
| std::size_t pulp::timeline::WriterCapabilityMask::max_session_retained_bytes = std::numeric_limits<std::size_t>::max() |
Largest cumulative retained size this writer may commit to the session.
| std::size_t pulp::timeline::WriterCapabilityMask::max_transaction_retained_bytes = std::numeric_limits<std::size_t>::max() |
Largest retained size a single transaction from this writer may carry.