-
-
Notifications
You must be signed in to change notification settings - Fork 126
Description
Is your feature request related to a problem? Please describe.
I'm using bitflags for a permission system, but I can't tie that in with Zenstack's access policies without bitwise operators.
Describe the solution you'd like
The ability to use bitwise operators like &, |, ~, etc.
Describe alternatives you've considered
I've tried granting permissions as individual rows, but it's much more unwieldy compared to having all of the permissions encoded into a single column.
Additional context
Ideally, it would work with any numeric column type. Bitflags in particular can get quite large. I'm using BigInt
Also, I want to express my gratitude for the work you guys do. I just sponsored the project, but it wouldn't let me include a message to say thanks :<
Zenstack is awesome, and you are amazing maintainers!