We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b33a7 commit b8b61c9Copy full SHA for b8b61c9
sonar/util/common_json_helper.py
@@ -25,6 +25,8 @@
25
26
27
def convert_common_fields(json_data: dict[str, Any], with_permissions: bool = True) -> dict[str, Any]:
28
+ if "permissions" in json_data and json_data["permissions"] is None:
29
+ json_data.pop("permissions")
30
if with_permissions and "permissions" in json_data:
31
json_data["permissions"] = utilities.perms_to_list(json_data["permissions"])
32
for perm in json_data["permissions"]:
0 commit comments