mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat(dashboards): security permissions simplification (#12012)
* feat(dashboards): security perm simplification * fix tests * fix tests * remove unnecessary mapping * fix JS tests * fix cypress test and explore endpoint * update alembic down revision * Merge branch 'master' into feat/security-converge-dashboards # Conflicts: # superset/constants.py # tests/security_tests.py
This commit is contained in:
committed by
GitHub
parent
700dee6db6
commit
dd5cdb1b5f
@@ -63,7 +63,7 @@ const mockUser = {
|
||||
};
|
||||
|
||||
fetchMock.get(dashboardsInfoEndpoint, {
|
||||
permissions: ['can_list', 'can_edit', 'can_delete'],
|
||||
permissions: ['can_read', 'can_write'],
|
||||
});
|
||||
fetchMock.get(dashboardOwnersEndpoint, {
|
||||
result: [],
|
||||
|
||||
Reference in New Issue
Block a user