To make it easier to use, it would be nice to have a way to group access rights into categories.
This could look like:
pub enum AccessCategory<A>
where
A: Access,
{
All,
Read,
Write,
Custom(A),
}
The Read and Write primitives may not apply well to non-filesystem actions though... 🤔
To make it easier to use, it would be nice to have a way to group access rights into categories.
This could look like:
The
ReadandWriteprimitives may not apply well to non-filesystem actions though... 🤔