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

[FEAT] Define range for user permissions #5

Closed
NeonDaniel opened this issue Nov 19, 2024 · 1 comment · Fixed by #6
Closed

[FEAT] Define range for user permissions #5

NeonDaniel opened this issue Nov 19, 2024 · 1 comment · Fixed by #6
Assignees
Labels
enhancement New feature or request triage New issue needs review

Comments

@NeonDaniel
Copy link
Member

Objective

Currently, roles are defined such that higher non-negative values equate to greater permissions, but the range is not explicitly specified.

Initial Implementation Requirements

  • Define a maximum value for AccessRoles
  • Define ranges of enum values for different kinds of roles
  • Ensure sane values for currently-defined roles

Other Considerations

@NeonDaniel NeonDaniel added enhancement New feature or request triage New issue needs review labels Nov 19, 2024
@NeonDaniel
Copy link
Member Author

Multiplying current defaults by 10 would provide ample granularity with guaranteed space between defined roles for additional roles in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage New issue needs review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants