Alchemy.Permissions.to_list/1 exists, but there does not appear to be a Alchemy.Permissions.to_bitset/1 to go the other way around. Since, for example, editing channel permissions is most likely to be done with permission atoms rather than the bitset, this functionality is especially desirable.
Alchemy.Permissions.to_list/1
exists, but there does not appear to be aAlchemy.Permissions.to_bitset/1
to go the other way around. Since, for example, editing channel permissions is most likely to be done with permission atoms rather than the bitset, this functionality is especially desirable.