[CRITICAL] BUG: Custom field with internal: true, public: false
is accessible via Shop API
#3049
Labels
P1: urgent
Critical issue which affects majority of users,
type: bug 🐛
Something isn't working
type: security 🔐
Describe the bug
Custom field with
internal: true, public: false
is accessible via Shop APITo Reproduce
Steps to reproduce the behavior:
{ name: "secretKey", type: "string", defaultValue: "", public: false, internal: true }
customFields { secretKey }
, you'll getGRAPHQL_VALIDATION_FAILED
, with messageField \"customFields\" must not have a selection since type \"JSON\" has no subfields.
customFields
Expected behavior
Internal and private custom fields should not be exposable via Shop API
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: