You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Rust
compscitwilight
Full-stack developer who works in TypeScript and Go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Developers often miss the opportunity to express permissions as a collection of enumerated bitflags;
where complex permissions can be easily grouped by context.
Consider the scenario where a user may have 30 or more permission flags.