Fix bug in permissions where would raise exception for user without any
Fix bug in permissions where would raise exception for user without any

wtsi-hgi/CoGS-Webapp,wtsi-hgi/CoGS-Webapp,wtsi-hgi/CoGS-Webapp