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
GroupSecurityDashboard
component that wraps theSecurityDashboard
component. - Moves the
projects
module bindings/calls from theSecurityDashboard
component to the newGroupSecurityDashboard
. - Creates a new
projects
plugin for the Security Dashboard store which dynamically adds theprojects
module and sets up the appropriate store bindings between it and thefilters
module. - Updates the entry point for the Group Security Dashboard to add the
projects
plugin to the Security Dashboard store. - Moves the existing
mediator
andsync_with_store
plugins into aplugins
directory. - Renames
moderator
tomediator
.
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