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

Abstract out permissions to a separate JSON file #482

Open
buidav opened this issue Oct 25, 2024 · 0 comments
Open

Abstract out permissions to a separate JSON file #482

buidav opened this issue Oct 25, 2024 · 0 comments
Milestone

Comments

@buidav
Copy link
Collaborator

buidav commented Oct 25, 2024

💡 Summary

For regular update and maintenance of ScubaGoggles, the permissions required of the module should be abstracted to a separate file instead of hardcoded within auth.py. This is so scripts or other code utilizing ScubaGoggles can check for permission updates.

Motivation and context

Easier future maintenance of ScubaGoggles permissions for code utilizing ScubaGoggles.

Implementation notes

  • Abstract out the OAuth scopes array in auth.py to a permissions JSON file.

Acceptance criteria

  • Permissions for ScubaGoggles are abstracted out to some permissions JSON file.
@adhilto adhilto added this to the Backlog milestone Nov 19, 2024
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

3 participants
@buidav @adhilto and others