diff --git a/lib/Controller/ModerationController.php b/lib/Controller/ModerationController.php index 368bce09..78778f0a 100644 --- a/lib/Controller/ModerationController.php +++ b/lib/Controller/ModerationController.php @@ -70,7 +70,7 @@ public function __construct( /** * List the pending entries (of `type`) awaiting moderation. * - * @param string $type The moderated object type ('organization', default, or 'assessment'). + * @param string $type The moderated object type ('organization', default, or 'software-review'). * * @return JSONResponse `{ok, items}` or a 400. * @@ -92,7 +92,7 @@ public function pending(string $type = ModerationService::MODERATED_TYPE): JSONR * Approve a pending entry (of `type`). * * @param string $uuid The entry uuid. - * @param string $type The moderated object type ('organization', default, or 'assessment'). + * @param string $type The moderated object type ('organization', default, or 'software-review'). * * @return JSONResponse `{ok, status}` or a 400. * @@ -114,7 +114,7 @@ public function approve(string $uuid, string $type = ModerationService::MODERATE * Reject a pending entry (of `type`). * * @param string $uuid The entry uuid. - * @param string $type The moderated object type ('organization', default, or 'assessment'). + * @param string $type The moderated object type ('organization', default, or 'software-review'). * * @return JSONResponse `{ok, status}` or a 400. * diff --git a/lib/Service/SettingsService.php b/lib/Service/SettingsService.php index 7099a8a3..18cb1c03 100644 --- a/lib/Service/SettingsService.php +++ b/lib/Service/SettingsService.php @@ -300,7 +300,7 @@ public function getSettings(): array { 'usage', 'contract', 'connection', - 'assessment', + 'software-review', 'module', 'compliancy', 'moduleVersion', @@ -4039,7 +4039,7 @@ private function configureVoorzieningen(): array { 'usage', 'contract', 'connection', - 'assessment', + 'software-review', 'module', 'compliancy', 'moduleversie', diff --git a/src/modals/Modals.vue b/src/modals/Modals.vue index ad08ee5b..2ff671bc 100644 --- a/src/modals/Modals.vue +++ b/src/modals/Modals.vue @@ -42,7 +42,7 @@ const GENERIC_MODAL_OBJECT_TYPES = [ 'suite', 'service', 'vulnerability', - 'assessment', + 'software-review', 'compliancy', 'moduleVersion', 'sector', diff --git a/src/views/settings/StackiqSettings.vue b/src/views/settings/StackiqSettings.vue index 4162c020..00b3c6d8 100644 --- a/src/views/settings/StackiqSettings.vue +++ b/src/views/settings/StackiqSettings.vue @@ -96,7 +96,7 @@ beoordeeling type, per catalog-ratings spec's "reuse the pattern, don't invent a second mechanism" requirement. -->