Skip to content

Commit

Permalink
feat(invitation): allow access to invitation endpoint to technical us…
Browse files Browse the repository at this point in the history
…er (#933)

#932
  • Loading branch information
typecastcloud authored Sep 12, 2024
1 parent 6075635 commit 444a8ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public InvitationController(IInvitationBusinessLogic logic)
/// <response code="409">user is not associated with company.</response>
[HttpPost]
[Authorize(Roles = "invite_new_partner")]
[Authorize(Policy = PolicyTypes.CompanyUser)]
[Authorize(Policy = PolicyTypes.ValidCompany)]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ErrorResponse), StatusCodes.Status400BadRequest)]
[ProducesResponseType(typeof(ErrorResponse), StatusCodes.Status500InternalServerError)]
Expand Down

0 comments on commit 444a8ab

Please sign in to comment.