Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Preventing non-admin users from creating integrations with administrator role
issue: NEXT-14883
author: Markus Velt
author_email: [email protected]
author_github: @raknison
---
- Changed the default value to
false
of theadmin
property insrc/Core/System/Integration/IntegrationDefinition.php
- Changed routes
api.integration.create
andapi.integration.update
to protect theadmin
property.
- Changed the privilege of the
Administration
sw-switch-field in the componentsrc/Administration/Resources/app/administration/src/module/sw-integration/page/sw-integration-list
. Now it is only enabled for administrator users.