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

Expose a list of restricted datasets and repos that have permission to access them #248

Open
iaindillingham opened this issue Apr 3, 2024 · 0 comments

Comments

@iaindillingham
Copy link
Member

It would be helpful to expose a list of restricted datasets in the docs, in a human-readable form. The canonical list is within opensafely/check.py. For example:

RestrictedDataset(
name="icnarc",
cohort_extractor_function_names=[
"admitted_to_icu",
],
ehrql_table_names=[],
),

It would also be helpful to expose a list of repos that have permission to access them. The canonical list is within repository_permissions.yaml. For example:

opensafely/risk-factors-research:
allow: ['icnarc']

Helpful? How? Because the IG team receive a notification when a repo accesses a restricted dataset erroneously (opensafely-core/research-action#99). Putting a notification in context helped Juliet understand it, when we discussed it earlier today. However, she wanted to know more about which datasets were restricted and which repos had permission to access them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants