1 nota · última: 25 Jun 2019
The page shows how to encode multiple user roles in one integer by assigning each role a power of two, then recover the roles by reading the binary remainders.