# TODO: Test permissions
# Get invitation as invitation maker
# invitation = community.invitations.read(
#     identity_A
# )

# # Get invitation as receiver
# invitation = community.invitations.read(
#     identity_B
# )

# # Get invitation as nobody
# invitation = community.invitations.read(
#     anonymous_identity
# )
# - reader or curator can't invite
# - lower role can't invite someone with higher role
