Fix permission check for attachments
Preparing release 0.2.2
Back to development: 0.2.3