Snippets: User Permissions with Bitmask
Sometimes user permissions can become a complex mess that is hard to manage well in our code. One way to manage those permissions using an integer value is with a bitmask. A bitmask is just computer jargon for an integer that represents a different v...
Dec 25, 20205 min read84


