-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lib] Introduce
rolePermissionToBitmaskHex
Summary: Introduce `rolePermissionToBitmaskHex` which turns `threadRolePermission` string into hex-encoded bitmask. Context: https://linear.app/comm/issue/ENG-5388/encodepermissions-for-rolepermissionsblob Test Plan: Unit tests, more testing in upcoming diff which handles decoding back to `rolePermissionString` Reviewers: ashoat, ginsu, tomek, rohan Reviewed By: ashoat Subscribers: wyilio Differential Revision: https://phab.comm.dev/D9662
- Loading branch information
1 parent
94abca6
commit 4846f86
Showing
2 changed files
with
115 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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