mirror of
https://github.com/apache/superset.git
synced 2026-05-29 11:45:16 +00:00
fix(reports): enforce server-side recipient on chart/dashboard report subscriptions (#38847)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -337,7 +337,8 @@ class TestReportSchedulesApi(SupersetTestCase):
|
||||
assert rv.status_code == 200
|
||||
assert "can_read" in data["permissions"]
|
||||
assert "can_write" in data["permissions"]
|
||||
assert len(data["permissions"]) == 2
|
||||
assert "can_subscribe" in data["permissions"]
|
||||
assert len(data["permissions"]) == 3
|
||||
|
||||
@pytest.mark.usefixtures("create_report_schedules")
|
||||
def test_get_report_schedule_not_found(self):
|
||||
|
||||
Reference in New Issue
Block a user