aligent/magento2-introspection-auth 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Install the package via composer
composer require aligent/magento2-introspection-auth
  1. Enable the module
bin/magento module:enable Aligent_IntrospectionAuth
  1. Run the setup:upgrade command
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

GitHub 信息

  • Stars: 2
  • Watchers: 13
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2023-11-28