-
-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
datasette-auth-github/datasette_auth_github/views.py
Lines 19 to 24 in 31405aa
if config.get("load_teams"): | |
scope = "read:org" | |
elif config.get("load_orgs"): | |
scope = "user" | |
else: | |
scope = "user:email" |
user
scope is actually quite frightening - it allows write access to the user profile! read:org
should work just as well here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request