ByteSync
ByteSync copied to clipboard
4.7 Add initial auto-accept grant models
Parent epic: #310
Summary
Introduce models for future trusted-client auto-accept authorization.
Requirements
- Add
TrustedClientSessionGrantwith trusted client ID, trusted public key hash, scope, optional profile ID, auto-accept mode, creation date, optional expiration date, and revocation flag. - Add
TrustedSessionGrantScopevaluesGlobal,Profile, andOneShotSession. - Add
AutoAcceptModevaluesDisabled,AskConfirmation,AutoJoin,AutoInventory, andAutoSynchronize.
Acceptance criteria
- Grant models can represent global, profile, and one-shot permissions.
- Grant models are not required to fully automate acceptance yet.