Properly pass organization context to handlers

pull/10616/head
Michael Desa 2017-11-03 09:13:03 -04:00
parent b67b2e8d6e
commit 450a965019
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ func AuthorizedUser(
}
if hasAuthorizedRole(u, role) {
r = r.WithContext(ctx)
next(w, r)
return
}