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 680f4e5 commit fd02ecbCopy full SHA for fd02ecb
src/mispguard.py
@@ -769,7 +769,7 @@ def check_blocked_event_sharing_groups_uuids(
769
self, blocked_sharing_groups_uuids: list, event: dict
770
) -> None:
771
if blocked_sharing_groups_uuids and "SharingGroup" in event["Event"]:
772
- if event["Event"]["SharingGroup"]["uuid"] in blocked_sharing_groups_uuids:
+ if event["Event"]["SharingGroup"]["uuid"].lower() in [blocked_sharing_groups_uuid.lower() for blocked_sharing_groups_uuid in blocked_sharing_groups_uuids]:
773
raise ForbiddenException(
774
"event has blocked sharing group uuid: %s"
775
% event["Event"]["SharingGroup"]["uuid"]
0 commit comments