Lock accounts: keep receiving mail, no sign-in, hand to delegates
A locked account can't sign in (it fails as a wrong password does), its sessions end on every node, refresh tokens stop working, and its Sieve scripts forward and reply to nothing. Mail keeps arriving. Delegates get real ACL grants on the account's mailboxes, calendars, address books and files at read, organize or full, with the rights they replaced restored on unlock. Folders made later are granted after the create and in a daily sweep. Organize delegates can't destroy; send-as needs organize or full. The JMAP session marks delegated accounts in urn:inbuxa:jmap. New inbuxa:AccountLock object with get/set, permissions 665-668, and a Compliance > Locked Accounts entry in the schema. Lock, unlock and delegate changes need a reason and are audited; delegate access and writes are audited too (audit-hold-lock spec AL-1 to AL-12).
This commit is contained in:
@@ -1734,6 +1734,11 @@ pub enum Permission {
|
||||
SysAuditGet = 662,
|
||||
SysAuditExport = 663,
|
||||
SysAuditSettingsUpdate = 664,
|
||||
// inbuxa: account lock with delegation (audit-hold-lock spec, AL-12)
|
||||
SysAccountLockGet = 665,
|
||||
SysAccountLockCreate = 666,
|
||||
SysAccountLockUpdate = 667,
|
||||
SysAccountLockDestroy = 668,
|
||||
SysAccountGet = 219,
|
||||
SysAccountCreate = 220,
|
||||
SysAccountUpdate = 221,
|
||||
|
||||
Reference in New Issue
Block a user