private shares and revokation works
This commit is contained in:
@@ -8,7 +8,7 @@ from app.models.map_share import SharePermission
|
||||
|
||||
class MapShareCreate(BaseModel):
|
||||
"""Schema for creating a map share with a specific user."""
|
||||
user_id: UUID
|
||||
user_identifier: str # Can be username, email, or UUID
|
||||
permission: SharePermission = SharePermission.READ
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user