Developers often miss the opportunity to express permissions as a collection of enumerated bitflags; where complex permissions can be easily grouped by context.
Consider the scenario where a user may have 30 or more permission flags.
the | |
of | |
to | |
and | |
a | |
in | |
is | |
it | |
you | |
that |