Bitwise operation-based permission system
This is just a design proposal for a permission system; it does not contain any code. Overview What is Bitwise operations? Bitwise operations are calculations performed on binary bits, but do not include mathematical operations such as addition, subtraction, multiplication, and division. Common bitwise operations include AND (&), OR (|), NOT (~), XOR (^), left shift («), and right shift (»). AND: As the name suggests, 1001 & 1010 => 1000. The result is 1 only if both corresponding bits in the binary representation are 1. ...