-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PM-15637] Configure deepLinkGuard in OrganizationsModule for Device Approval Links #12890
[PM-15637] Configure deepLinkGuard in OrganizationsModule for Device Approval Links #12890
Conversation
Great job, no security vulnerabilities found in this Pull Request |
…ice-approval-requests
…ice-approval-requests
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #12890 +/- ##
=======================================
Coverage 35.24% 35.25%
=======================================
Files 2997 2997
Lines 90886 90887 +1
Branches 16973 16973
=======================================
+ Hits 32034 32041 +7
+ Misses 56364 56358 -6
Partials 2488 2488 ☔ View full report in Codecov by Sentry. |
…ice-approval-requests
@@ -18,7 +19,7 @@ const routes: Routes = [ | |||
{ | |||
path: "organizations/:organizationId", | |||
component: OrganizationLayoutComponent, | |||
canActivate: [authGuard, organizationPermissionsGuard()], | |||
canActivate: [deepLinkGuard(), authGuard, organizationPermissionsGuard()], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eliykat, I couldn't make deepLinkGuard
dependent on the device approval emails feature flag. Is it still safe to merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a pretty minor change, the main feature (the emails) are gated so this doesn't matter so much.
…ice-approval-requests
…ice-approval-requests
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-15637
📔 Objective
This PR adds
deepLinkGuard
to theOrganizationsModule
to enable deep linking for device approval email notification links. This ensures users can directly navigate to the appropriate page when clicking on the links from their email notifications.Server PR.
📸 Screenshots
Screen.Recording.2025-01-15.at.15.50.08.mov
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes