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

Side by Side Diff: appengine/components/components/ereporter2/config.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, 6 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 """Configuraiton of ereporter2. 5 """Configuraiton of ereporter2.
6 6
7 To use, put the following lines in appengine_config.py: 7 To use, put the following lines in appengine_config.py:
8 components_ereporter2_RECIPIENTS_AUTH_GROUP = 'myproject-ereporter-reports' 8 components_ereporter2_RECIPIENTS_AUTH_GROUP = 'myproject-ereporter-reports'
9 """ 9 """
10 10
11 from google.appengine.api import lib_config 11 from google.appengine.api import lib_config
12 12
13 13
14 class Config(object): 14 class Config(object):
15 # Name of a group that lists users that receive ereporter2 reports. 15 # Name of a group that lists users that receive ereporter2 reports.
16 RECIPIENTS_AUTH_GROUP = 'ereporter2-reports' 16 RECIPIENTS_AUTH_GROUP = 'ereporter2-reports'
17 17
18 # Group that can view all ereporter2 reports without being a general auth 18 # Group that can view all ereporter2 reports without being a general auth
19 # admin. It can also silence reports. 19 # admin. It can also silence reports.
20 VIEWERS_AUTH_GROUP = 'ereporter2-viewers' 20 VIEWERS_AUTH_GROUP = 'ereporter2-viewers'
21 21
22 22
23 config = lib_config.register('components_ereporter2', Config.__dict__) 23 config = lib_config.register('components_ereporter2', Config.__dict__)
OLDNEW
« no previous file with comments | « appengine/components/components/ereporter2/acl.py ('k') | appengine/components/components/ereporter2/formatter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698