Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 686 Bytes

2021-05-17-preventing-non-admin-users-from-creating-integrations-with-administrator-role.md

File metadata and controls

15 lines (15 loc) · 686 Bytes
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
---

Core

  • Changed the default value to false of the admin property in src/Core/System/Integration/IntegrationDefinition.php

API

  • Changed routes api.integration.create and api.integration.update to protect the admin property.

Administration

  • Changed the privilege of the Administration sw-switch-field in the component src/Administration/Resources/app/administration/src/module/sw-integration/page/sw-integration-list. Now it is only enabled for administrator users.