Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Set up auth for the pd application dashboard - #18893

#18893
Merged
aoby merged 3 commits into
stagingcode-dot-org/code-dot-org:stagingfrom
pd-application-dashboard-authcode-dot-org/code-dot-org:pd-application-dashboard-authCopy head branch name to clipboard
Nov 3, 2017
Merged

Set up auth for the pd application dashboard#18893
aoby merged 3 commits into
stagingcode-dot-org/code-dot-org:stagingfrom
pd-application-dashboard-authcode-dot-org/code-dot-org:pd-application-dashboard-authCopy head branch name to clipboard

Conversation

@aoby

@aoby aoby commented Nov 3, 2017

Copy link
Copy Markdown
Contributor

workshop admins and any teacher with an associated regional partner (meaning they are a program manager) can see it

CC @tanyaparker
FYI @ewjordan (as DotD - this needs to go out today)

… teacher with an associated regional partner (meaning they are a program manager) can see it
Andrew Oberhardt added 2 commits November 3, 2017 13:12
…regional partners to avoid adding a new DB query for all teachers. Fixed existing, and added some additional tests.
@aoby

aoby commented Nov 3, 2017

Copy link
Copy Markdown
Contributor Author

That approach was adding a DB query to every teacher for all auth requests. Luckily @wjordan 's recently added assert_queries tests caught it. Now we're restricting this to workshop organizers who are also regional partner program managers (so we only run the additional query for workshop organizers). PTAL

@aoby
aoby merged commit 8989976 into staging Nov 3, 2017
@aoby
aoby deleted the pd-application-dashboard-auth branch November 3, 2017 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.