---
title: "Discussion on \"Snippets: User Permissions with Bitmask\" | Hashnode"
description: "Discussion on \"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.\nA bitmask is just computer jargon for an integer that represents a different v..."
url: "https://hashnode.com/posts/snippets-user-permissions-with-bitmask/5fe56aaf999b3f21e3155ee4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Snippets: User Permissions with Bitmask](https://blog.daniel-cobb.com/snippets-user-permissions-with-bitmask?utm_source=hashnode&utm_medium=feed)

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, 2020 · 5 min read · blog.daniel-cobb.com  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Dan Cobb](https://hashnode.com/@danc0)

@danc0 · North Carolina

  
[View profile](https://hashnode.com/@danc0)

Web Developer and Programmer

I am a web developer and designer who likes to dabble in computer security and scripting. When I'm not at a computer I'm usually reading or playing the guitar.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
