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

Modify Donor Data Resolvers to be available to users with Read RDPC permission #301

Open
2 of 3 tasks
joneubank opened this issue Mar 13, 2024 · 0 comments
Open
2 of 3 tasks
Assignees
Labels
donor-data-api new-feature Request is a new feature

Comments

@joneubank
Copy link
Member

joneubank commented Mar 13, 2024

Access to the donor data GQL API has previously been restricted to DCC admin and program contributors, we need this to additionally be available to RDPC Admins identified by having READ access to the RDPC that this service is running in.

Detailed Description

The total list of permissions to query are:

  • DCC Admin can read
  • Program members can read
  • RDPC Admins can read

"can read" means they have the relevant permission with READ or WRITE mask.

Possible Implementation

New permission checks are being added to the ego-token-utils which will allow us to check if a set of permissions is authorized to read from the RDPC. This new check canReadFromRdpc can be used to check for this authorization.

@joneubank joneubank added the new-feature Request is a new feature label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
donor-data-api new-feature Request is a new feature
Projects
None yet
Development

No branches or pull requests

2 participants