SkinnyPigeon commented on code in PR #41336:
URL: https://github.com/apache/superset/pull/41336#discussion_r3459925789


##########
tests/integration_tests/reports/api_tests.py:
##########
@@ -338,7 +338,8 @@ def test_info_security_report(self):
         assert "can_read" in data["permissions"]
         assert "can_write" in data["permissions"]
         assert "can_subscribe" in data["permissions"]
-        assert len(data["permissions"]) == 3
+        assert "can_execute" in data["permissions"]

Review Comment:
   I have updated the `ReportScheduleRestApi` `execute` method to have the 
`@permission_name("execute")` decorator



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to