mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: only show tables from current schema in clone permissions section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3823 Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com> GitOrigin-RevId: ec47f1578c89bea42fbe5db0b742a7058604c4b8
This commit is contained in:
parent
deb3baa504
commit
8b88d15f06
@ -15,6 +15,7 @@
|
|||||||
- server: add a `request_headers` field to the `test_webhook_transform` API.
|
- server: add a `request_headers` field to the `test_webhook_transform` API.
|
||||||
- console: include cron trigger with include in metadata as false on cron trigger manage page
|
- console: include cron trigger with include in metadata as false on cron trigger manage page
|
||||||
- console: show an error notification if Hasura CLI migrations fail
|
- console: show an error notification if Hasura CLI migrations fail
|
||||||
|
- console: only show tables from current schema in clone permissions section
|
||||||
- console: provide checkbox to remove body in rest connectors
|
- console: provide checkbox to remove body in rest connectors
|
||||||
- cli: fix metadata version being set to 3 when doing `hasura init --version 2` (#8148)
|
- cli: fix metadata version being set to 3 when doing `hasura init --version 2` (#8148)
|
||||||
|
|
||||||
|
@ -67,6 +67,8 @@ import {
|
|||||||
import {
|
import {
|
||||||
findTable,
|
findTable,
|
||||||
generateTableDef,
|
generateTableDef,
|
||||||
|
getSchemaTableNames,
|
||||||
|
getTrackedTables,
|
||||||
QUERY_TYPES,
|
QUERY_TYPES,
|
||||||
dataSource,
|
dataSource,
|
||||||
isFeatureSupported,
|
isFeatureSupported,
|
||||||
@ -1601,7 +1603,10 @@ class Permissions extends Component {
|
|||||||
const getApplyToList = () => {
|
const getApplyToList = () => {
|
||||||
const _applyToListHtml = [];
|
const _applyToListHtml = [];
|
||||||
|
|
||||||
const tableOptions = allSchemas.map(schema => schema.table_name);
|
const tableOptions = getSchemaTableNames(
|
||||||
|
getTrackedTables(allSchemas),
|
||||||
|
currentSchema
|
||||||
|
);
|
||||||
const actionsList = supportedQueryTypes || [
|
const actionsList = supportedQueryTypes || [
|
||||||
'insert',
|
'insert',
|
||||||
'select',
|
'select',
|
||||||
|
Loading…
Reference in New Issue
Block a user