Upstream sync

This commit is contained in:
Senad Uka
2018-05-26 16:36:01 +02:00
parent 11fe5f1c61
commit 372b3883a0
6 changed files with 364 additions and 163 deletions

View File

@@ -11,7 +11,7 @@ const normalizeRoles = (profiles) => {
}
if (roleKeys.length === 1) {
return profiles[roleKeys[0]].authorize;
return profiles[roleKeys[0]].roles;
}
const roles = profiles.reduce((result, profile) => {