Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(alerts): restrict list view and gamma perms #21765

Merged
merged 9 commits into from
Oct 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix test
  • Loading branch information
villebro committed Oct 14, 2022
commit c2761a311a4af17f79ed1b6a1b26324e8b490cb2
4 changes: 3 additions & 1 deletion superset-frontend/src/views/CRUD/alert/AlertList.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const mockalerts = [...new Array(3)].map((_, i) => ({
last_eval_dttm: Date.now(),
last_state: 'ok',
name: `alert ${i} `,
owners: [],
owners: [{ id: 1 }],
recipients: [
{
id: `${i}`,
Expand All @@ -67,6 +67,8 @@ const mockalerts = [...new Array(3)].map((_, i) => ({

const mockUser = {
userId: 1,
firstName: 'user 1',
lastName: 'lastname',
};

fetchMock.get(alertsEndpoint, {
Expand Down