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

Adapt permissions apply to prefer scopes #574

Merged
merged 9 commits into from
Feb 10, 2025

Conversation

pstokkink
Copy link
Contributor

permissions apply gebruikte de strings die op de auth velden zaten, maar prefereert nu scope objecten.

  • types DatasetSchema, DatasetTableSchema en DatasetFieldSchema hebben een aparte scopes property gekregen
  • get_all_dataset_scopes gebruikt die .scopes properties om de scopes in te lezen.
  • rollen worden gebaseerd op de productiePackage veldnaam (waar we alleen het laatste gedeelte van gebruiken, dus exclusief de -p- van productie).
  • fallback op auth strings in stand gehouden ivm backwards compatibility

@pstokkink pstokkink merged commit c2d8188 into master Feb 10, 2025
9 checks passed
@pstokkink pstokkink deleted the pieter/adapt-permissions-apply-to-scopes branch February 10, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants