-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[PM-27933] Skip assign tasks view if no critical applications are selected #17351
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-27933] Skip assign tasks view if no critical applications are selected #17351
Conversation
…f no at risk passwords are to be assigned. Fix bug in password change widget
|
Claude finished @Banrion's task —— View job Code Review CompleteSummaryThis PR successfully implements logic to skip the assign tasks view when no at-risk passwords need assignment and adds a confirmation dialog for empty selections. The refactoring to use computed signals is well-aligned with Angular best practices (ADR-0027). Critical Issues (❌)Finding 1: Missing protection against rapid clicks in
Finding 2: Redundant
Finding 3: Unnecessarily complex observable chain (lines 261-268)
Minor Issues (
|
| // Total number of selected critical applications | ||
| this.totalCriticalApplicationsCount.set(onlyNewCriticalApplications.length); | ||
| // Checks if there are selected applications and proceeds to assign tasks | ||
| async handleMarkAsCritical() { |
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.
❌ The markingAsCritical signal guard was removed when this method became async. This could allow rapid clicks to bypass the protection. Consider adding:
if (this.markingAsCritical()) {
return;
}
this.markingAsCritical.set(true);And then set it to false after the dialog interaction completes.
.../access-intelligence/activity/application-review-dialog/new-applications-dialog.component.ts
Outdated
Show resolved
Hide resolved
.../access-intelligence/activity/application-review-dialog/new-applications-dialog.component.ts
Outdated
Show resolved
Hide resolved
.../access-intelligence/activity/application-review-dialog/new-applications-dialog.component.ts
Outdated
Show resolved
Hide resolved
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17351 +/- ##
=======================================
Coverage 40.69% 40.70%
=======================================
Files 3539 3541 +2
Lines 101351 101421 +70
Branches 15181 15189 +8
=======================================
+ Hits 41248 41283 +35
- Misses 58360 58396 +36
+ Partials 1743 1742 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ected (#17351) * Fix reviews not saving in new applications review. Skip assign page if no at risk passwords are to be assigned. Fix bug in password change widget * Claude comment improvements

🎟️ Tracking
PM-27933
📔 Objective
This pull requests adds the logic to skip the assign tasks view if the user has selected critical applications that do not have at risk passwords to assign tasks to.
A simple dialog is also added to the review page to confirm when a user has not selected any critical applications.
Changes
📸 Screenshots
This recording show skipping if the at risk cipher already had a password assigned.
Screen.Recording.2025-11-12.at.1.50.10.PM.mov
This screenshot shows that the no-tasks.com applications was saved as a critical application.
The following recording shows the assign tasks screen when the selected applications has tasks to assign.
Screen.Recording.2025-11-12.at.1.54.02.PM.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