cronokirby/alchemy

[feature | non-breaking] Permissions.to_bitset/1

Closed this issue · 0 comments

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.