mirror of
https://github.com/idrainformatica/PecFlow.git
synced 2026-06-16 12:45:42 +02:00
Conservazionee
This commit is contained in:
@@ -12,6 +12,7 @@ class PermissionGrantRequest(BaseModel):
|
||||
can_read: bool = True
|
||||
can_send: bool = False
|
||||
can_manage: bool = False
|
||||
can_conserve: bool = False
|
||||
|
||||
|
||||
class PermissionResponse(BaseModel):
|
||||
@@ -22,6 +23,7 @@ class PermissionResponse(BaseModel):
|
||||
can_read: bool
|
||||
can_send: bool
|
||||
can_manage: bool
|
||||
can_conserve: bool
|
||||
granted_by: uuid.UUID | None
|
||||
granted_at: datetime
|
||||
|
||||
@@ -36,6 +38,7 @@ class UserMailboxPermissionResponse(BaseModel):
|
||||
can_read: bool
|
||||
can_send: bool
|
||||
can_manage: bool
|
||||
can_conserve: bool
|
||||
|
||||
|
||||
class MailboxUserPermissionResponse(BaseModel):
|
||||
@@ -47,4 +50,5 @@ class MailboxUserPermissionResponse(BaseModel):
|
||||
can_read: bool
|
||||
can_send: bool
|
||||
can_manage: bool
|
||||
can_conserve: bool
|
||||
granted_at: datetime
|
||||
|
||||
Reference in New Issue
Block a user