Refactor Security Dashboard store
What does this MR do?
Refactors Security Dashboard store.
This refactoring is part of the Instance Security Dashboard MVC, to abstract away from the base Security Dashboard the logic for how the list of projects to filter with is set. It:
- Adds a new
GroupSecurityDashboardcomponent that wraps theSecurityDashboardcomponent. - Moves the
projectsmodule bindings/calls from theSecurityDashboardcomponent to the newGroupSecurityDashboard. - Creates a new
projectsplugin for the Security Dashboard store which dynamically adds theprojectsmodule and sets up the appropriate store bindings between it and thefiltersmodule. - Updates the entry point for the Group Security Dashboard to add the
projectsplugin to the Security Dashboard store. - Moves the existing
mediatorandsync_with_storeplugins into apluginsdirectory. - Renames
moderatortomediator.
Screenshots
N/A; this should not result in any visible changes to the Group, Project or Pipeline Security Dashboards.
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Performance and Testing
Edited by Mark Florian