-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or requesthacktoberfest-acceptedAccept for hacktoberfestAccept for hacktoberfest
Description
Hi,
I have a problem with this plugins, when I try to insert/update with the created mutations I have an error:
GraphQL error: permission denied for table X
I'm using this query with an object for xPatch that contains only values that I want to insert/update:
mnUpdateX(input: {mnPatch: : $xPatch}) {
clientMutationId
}
It seems that this mutation needs permissions on all columns of table, because it works with:
GRANT SELECT, INSERT, UPDATE, DELETE ON x TO x_user;
Is there a way to make it works with some columns only ? For example:
GRANT SELECT, INSERT(id, column_a), UPDATE(id, column_b), DELETE ON x TO x_user;
stephane-klein
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfest-acceptedAccept for hacktoberfestAccept for hacktoberfest