This commit is contained in:
tdgmdev 2023-03-08 19:57:47 -05:00
parent ab7d3d6775
commit 052386a4a7

View file

@ -206,7 +206,7 @@ let userRoles = async ({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}) => {