Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: appengine/auth_service/handlers_frontend.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The LUCI Authors. All rights reserved. 1 # Copyright 2014 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """This module defines Auth Server frontend url handlers.""" 5 """This module defines Auth Server frontend url handlers."""
6 6
7 import os 7 import os
8 import base64 8 import base64
9 9
10 import webapp2 10 import webapp2
11 11
12 from google.appengine.api import app_identity 12 from google.appengine.api import app_identity
13 from google.appengine.api import users 13 from google.appengine.api import users
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 env_callback=get_additional_ui_environment) 410 env_callback=get_additional_ui_environment)
411 template.bootstrap({'auth_service': TEMPLATES_DIR}) 411 template.bootstrap({'auth_service': TEMPLATES_DIR})
412 412
413 # Add a fake admin for local dev server. 413 # Add a fake admin for local dev server.
414 if utils.is_local_dev_server(): 414 if utils.is_local_dev_server():
415 auth.bootstrap_group( 415 auth.bootstrap_group(
416 auth.ADMIN_GROUP, 416 auth.ADMIN_GROUP,
417 [auth.Identity(auth.IDENTITY_USER, 'test@example.com')], 417 [auth.Identity(auth.IDENTITY_USER, 'test@example.com')],
418 'Users that can manage groups') 418 'Users that can manage groups')
419 return webapp2.WSGIApplication(get_routes(), debug=debug) 419 return webapp2.WSGIApplication(get_routes(), debug=debug)
OLDNEW
« no previous file with comments | « appengine/auth_service/handlers_backend.py ('k') | appengine/auth_service/handlers_frontend_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698