function checkForRoleAccess(project, PlatformRole, allow) {
if (allow.indexOf('*') > -1) return true;
for (let i = 0; i<allow.length; i++) {
function checkForRoleAccess(project, PlatformRole, allow) {
if (allow.indexOf('*') > -1) return true;
for (let i = 0; i<allow.length; i++) {