add permission check if player allowed to open chest