Commit 0b9004b
Add authorization check to link_engagement action (#14504)
The link_engagement endpoint in QuestionnaireEngagementSurveyViewSet
was missing a permission check on the target engagement. Added
user_has_permission_or_403 with Engagement_Edit to ensure the
requesting user is authorized before linking.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent b101f03 commit 0b9004b
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3451 | 3451 | | |
3452 | 3452 | | |
3453 | 3453 | | |
| 3454 | + | |
| 3455 | + | |
3454 | 3456 | | |
3455 | 3457 | | |
3456 | 3458 | | |
| |||
0 commit comments