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

Define middleware for role based access. #1353

Open
david-rocca opened this issue Feb 21, 2025 · 0 comments
Open

Define middleware for role based access. #1353

david-rocca opened this issue Feb 21, 2025 · 0 comments
Labels
draft Initial issue state user story Issues that follow user story format in order to describe community needs

Comments

@david-rocca
Copy link
Collaborator

Currently, there are the following Roles defined for an Org:

CNA
SECRETARIAT
BULK_DOWNLOAD

Currently, there are the following roles defined for a User:

ADMIN

We need to have a middleware that is flexible to add more roles and to limit access based on those roles.

Currently, if a user is a member of an Org they inherit the roles of that Org. Going forward, we also want this middleware to be aware of the "ReportsTo" and "Oversees" fields in an Org. A user that is an admin of an ORG that oversees sub orgs should be able to edit and add users and data in that org.

@david-rocca david-rocca added draft Initial issue state user story Issues that follow user story format in order to describe community needs labels Feb 21, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Issue Triage Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft Initial issue state user story Issues that follow user story format in order to describe community needs
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant