Skip to content
Snippets Groups Projects
Commit 3ed18879 authored by Anatole ROMON's avatar Anatole ROMON
Browse files

Merge branch 'master' of gitlab.binets.fr:br/sigma-backend

parents 97f3feff 18a294a7
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@
"dn_users": "ou=eleves,dc=frankiz,dc=net",
"key_id": "uid",
"filter_id": "(uid=${id})",
"filter_lg": "(restrictedMemberUid=${id})",
"attributes_id": ["uid"],
"attributes_al": ["memberUid"],
"attributes_lm":["restrictedMemberUid"],
......
......@@ -84,7 +84,7 @@ const getUsersWithAdminRights = (user, groupUID) => {
return adminList.concat(parentAdmins);
});
else
return adminList
return adminList;
});
});
};
......@@ -99,7 +99,7 @@ const hasAdminRights = (user, groupuid) => {
return getUsersWithAdminRights(user, groupuid).then(adminList => {
return (typeof adminList != "undefined" && adminList.indexOf(user.uid) != -1);
});
}
};
/**
* @summary Renvoie tous les groupes visibles par l'utilisateur user
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment