Merge pull request #10 from thehyve/permission_checks

Permission checks - interim merge