fix(charts): View in SQL Lab with relevant perm (#24903)

This commit is contained in:
Rob Moore
2023-08-10 18:04:07 +01:00
committed by GitHub
parent bcd24936bc
commit ce65a3b9cd
6 changed files with 56 additions and 28 deletions

View File

@@ -149,7 +149,7 @@ test('Should show SQL Lab for sql_lab role', async () => {
isActive: true,
lastName: 'sql',
permissions: {},
roles: { Gamma: [], sql_lab: [] },
roles: { Gamma: [], sql_lab: [['menu_access', 'SQL Lab']] },
userId: 2,
username: 'sql',
},