feat: table and view reordering, option to disable views for roles(GUI)

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2021-12-09 18:19:25 +05:30
parent eaa4c34d68
commit 298ccd8a5b
12 changed files with 695 additions and 312 deletions

View File

@@ -128,7 +128,7 @@ export default {
dbAlias: this.db.meta.dbAlias,
env: this.$store.getters['project/GtrEnv']
}, 'xcVisibilityMetaGet', {
type: 'table'
type: 'all'
}]))
},
async save() {
@@ -136,8 +136,7 @@ export default {
await this.$store.dispatch('sqlMgr/ActSqlOp', [{
dbAlias: this.db.meta.dbAlias,
env: this.$store.getters['project/GtrEnv']
}, 'xcVisibilityMetaSet', {
type: 'table',
}, 'xcVisibilityMetaSetAll', {
disableList: this.tables.filter(t => t.edited)
}])
this.$toast.success('Updated UI ACL for tables successfully').goAway(3000)