aligent/magento2-introspection-auth
最新稳定版本:1.2.0
Composer 安装命令:
composer require aligent/magento2-introspection-auth
包简介
Restricts introspection GraphQL queries to authorised users
README 文档
README
Magento 2 module to handle authorisation of GraphQL introspection queries.
Functionality
In Magento 2, GraphQL introspection can be enabled/disabled globally. This module adds functionality so that when enabled, introspection queries can only be made by authorised users.
Installation
- Install the package via composer
composer require aligent/magento2-introspection-auth
- Enable the module
bin/magento module:enable Aligent_IntrospectionAuth
- Run the
setup:upgradecommand
bin/magento setup:upgrade
Configuration
The authorisation functionality can be enabled/disabled via Stores -> Configuration -> Advanced -> System -> Security -> Enable Introspection Authorisation
Note that authorisation will only work is GraphQL introspection is enabled. If it is disabled, it will be disabled for all users, regardless of authorisation.
Permission
In order to be authorised, users/integrations will need the Aligent_Introspection::introspection_allowed permission
统计信息
- 总下载量: 14.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2023-11-28