Skip to content

fix: use BigInt for bitwise operations in permission check#1

Open
zapteryx wants to merge 1 commit into0-Pierre:lidarrfrom
zapteryx:lidarr
Open

fix: use BigInt for bitwise operations in permission check#1
zapteryx wants to merge 1 commit into0-Pierre:lidarrfrom
zapteryx:lidarr

Conversation

@zapteryx
Copy link

Description

Due to the permissions integers going over the 32-bit limit for bitwise operators, the permissions checkboxes don't function as expected (unable to check Request Music individually).
This PR fixes the issue by converting to BigInt before performing the operations.

Screenshot (if UI-related)

To-Dos

  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

Issues Fixed or Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments