Added permission handling
Merge branch 'master' of github.com:WoltLab/com.woltlab.wcf.attachment

Conflicts:
	files/lib/data/attachment/Attachment.class.php