Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Finally the fix the terrible token bug #604

Merged
merged 9 commits into from
May 27, 2016
Merged

Finally the fix the terrible token bug #604

merged 9 commits into from
May 27, 2016

Conversation

tarebyte
Copy link
Member

@tarebyte tarebyte commented May 26, 2016

This closes #445 where a user can reduce their token scopes if they sign in as teacher, and then sign in as a student.

Closes #461 #46 #464 #497 #557 #560 #567 #581 #586 #588 #597

/cc @johndbritton @mkcode

Apologies for the cassettes diff

@tarebyte
Copy link
Member Author

@@ -28,7 +28,7 @@ def current_scopes
end

def required_scopes
%w(user:email repo delete_repo admin:org)
Classroom::Scopes::TEACHER
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this.

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

Successfully merging this pull request may close these issues.

won't let me accept an assingment Don't reduce OAuth scopes
2 participants