mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-10 10:29:12 +03:00
console: fix row-level permission restrictions with boolean fields for bigquery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5322 GitOrigin-RevId: 3609585c4cf735aeb98747a5b701bfaa88cb46ba
This commit is contained in:
parent
c0a0a5fe87
commit
1f7eed1bc5
@ -9,6 +9,7 @@
|
||||
- server: add metadata API to enable Apollo Federation for a table
|
||||
- console: add console support for Apollo Federation
|
||||
- console: add custom names for streaming subscriptions
|
||||
- console: fix the BigQuery row-level restrictions on boolean columns
|
||||
## v2.10.0-beta.1
|
||||
|
||||
### Introducing Apollo Federation v1 support (experimental)
|
||||
|
@ -596,7 +596,7 @@ class PermissionBuilder extends React.Component<PermissionBuilderProps> {
|
||||
if (
|
||||
currentTypeMap?.boolean &&
|
||||
currentTypeMap.boolean.includes(valueType) &&
|
||||
currentDriver === 'postgres'
|
||||
(currentDriver === 'postgres' || currentDriver === 'bigquery')
|
||||
) {
|
||||
input = renderBoolSelect(dispatchInput, value);
|
||||
} else if (
|
||||
|
@ -24,6 +24,7 @@ const permissionColumnDataTypes = {
|
||||
],
|
||||
numeric: [],
|
||||
dateTime: ['DATETIME', 'TIME', 'TIMESTAMP'],
|
||||
boolean: ['BOOL'],
|
||||
user_defined: [],
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user