diff --git a/src/marketplace/Services.Service/Controllers/ServicesController.cs b/src/marketplace/Services.Service/Controllers/ServicesController.cs index a36a582dd9..8d7a73434d 100644 --- a/src/marketplace/Services.Service/Controllers/ServicesController.cs +++ b/src/marketplace/Services.Service/Controllers/ServicesController.cs @@ -313,7 +313,7 @@ public Task GetSubscriptionDetailForSubscriber /// Service does not exist. [HttpPut] [Route("{subscriptionId}/unsubscribe")] - [Authorize(Roles = "unsubscribe_apps")] + [Authorize(Roles = "unsubscribe_services")] [Authorize(Policy = PolicyTypes.ValidCompany)] [ProducesResponseType(StatusCodes.Status204NoContent)] [ProducesResponseType(typeof(ErrorResponse), StatusCodes.Status400BadRequest)] diff --git a/src/portalbackend/PortalBackend.Migrations/Seeder/Data/agreements.json b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/agreements.json index 53a1266481..fa2f9c4bf5 100644 --- a/src/portalbackend/PortalBackend.Migrations/Seeder/Data/agreements.json +++ b/src/portalbackend/PortalBackend.Migrations/Seeder/Data/agreements.json @@ -104,7 +104,7 @@ "date_created": "2022-01-01 00:00:00.388000 +00:00", "date_last_changed": "2022-01-01 00:00:00.388000 +00:00", "agreement_type": null, - "name": "I confirm that the application I want to offer has successfully received a Catena-X certificate issued by an official Conformity Assessment Body (CAB). I aknowledge to upload the certificate.", + "name": "I confirm that the application I want to offer has successfully received a Catena-X certificate issued by an official Conformity Assessment Body (CAB). I acknowledge to upload the certificate.", "issuer_company_id": "2dc4249f-b5ca-4d42-bef1-7a7a950a4f87", "use_case_id": "1aacde78-35ec-4df3-ba1e-f988cddcbbd9", "document_id": null