Bit fix
This commit is contained in:
parent
ab7d3d6775
commit
052386a4a7
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ let userRoles = async ({user}) => {
|
||||||
user
|
user
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return roles.filter((elem,i) => ((rolesLocal % 1<<i) == 1));
|
return roles.filter((elem,i) => ((rolesLocal % 1<<(i+1)) > ((1<<i) - 1)) );
|
||||||
};
|
};
|
||||||
|
|
||||||
backend.userGet = async ({user}) => {
|
backend.userGet = async ({user}) => {
|
||||||
|
|
Loading…
Reference in a new issue