enhanced invitation
This commit is contained in:
parent
0e6d4130ad
commit
eb33b3dd38
1 changed files with 3 additions and 1 deletions
|
|
@ -87,6 +87,7 @@ class InvitationValidation(BaseModel):
|
||||||
roleIds: List[str]
|
roleIds: List[str]
|
||||||
roleLabels: List[str] = []
|
roleLabels: List[str] = []
|
||||||
targetUsername: Optional[str] = None
|
targetUsername: Optional[str] = None
|
||||||
|
email: Optional[str] = None
|
||||||
|
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
@ -546,7 +547,8 @@ def validate_invitation(
|
||||||
featureInstanceId=str(invitation.featureInstanceId) if invitation.featureInstanceId else None,
|
featureInstanceId=str(invitation.featureInstanceId) if invitation.featureInstanceId else None,
|
||||||
roleIds=roleIds,
|
roleIds=roleIds,
|
||||||
roleLabels=roleLabels,
|
roleLabels=roleLabels,
|
||||||
targetUsername=targetUsername
|
targetUsername=targetUsername,
|
||||||
|
email=invitation.email
|
||||||
)
|
)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue