You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.info({uuid: req.ctx.uuid,message: org.short_name+' is a '+CONSTANTS.AUTH_ROLE_ENUM.SECRETARIAT+' so until Root organizations are implemented this role is allowed.'})
244
244
next()
245
-
}elseif(org.authority.active_roles.includes(CONSTANTS.AUTH_ROLE_ENUM.CNA)){// the org is a CNA
245
+
}elseif(org.authority.includes(CONSTANTS.AUTH_ROLE_ENUM.CNA)){// the org is a CNA
246
246
logger.info({uuid: req.ctx.uuid,message: 'Confirmed '+org.short_name+' as a '+CONSTANTS.AUTH_ROLE_ENUM.CNA})
logger.info({uuid: req.ctx.uuid,message: org.short_name+' is a '+CONSTANTS.AUTH_ROLE_ENUM.SECRETARIAT+' so until Root organizations are implemented this role is allowed.'})
270
270
next()
271
-
}elseif(org.authority.active_roles.includes(CONSTANTS.AUTH_ROLE_ENUM.ADP)){// the org is an ADP
271
+
}elseif(org.authority.includes(CONSTANTS.AUTH_ROLE_ENUM.ADP)){// the org is an ADP
272
272
logger.info({uuid: req.ctx.uuid,message: 'Confirmed '+org.short_name+' as an '+CONSTANTS.AUTH_ROLE_ENUM.ADP})
0 commit comments