Parsing the permissions of a specific user

Dear all,

we have a user for which we are trying to find all the events in which he has managing rights. Is there perhaps some indico shell command to help us figure this out?

Thanks in advance

Andreas

{ep.event for ep in User.get(12345).in_event_acls.filter(EventPrincipal.full_access).all()}

Dear ThiefMaster,

thank you, this works as intended!

Kind regards

Andreas