Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categories of access rights #59

Open
l0kod opened this issue Feb 21, 2024 · 0 comments
Open

Categories of access rights #59

l0kod opened this issue Feb 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@l0kod
Copy link
Member

l0kod commented Feb 21, 2024

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... 🤔

@l0kod l0kod added the enhancement New feature or request label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant