#420 fixed issue with `.` in workspace name.
#420 force Array on roles/permissions.
Merge pull request #508 from joola/feature/#420

#420 fixed issue with `.` in workspace name.