Home
last modified time | relevance | path

Searched refs:is_admin (Results 1 – 19 of 19) sorted by relevance

/external/chromium-trace/catapult/dashboard/dashboard/
Dedit_test_owners_test.py41 self.SetCurrentUser('chris@chromium.org', is_admin=False)
54 self.SetCurrentUser('chris@chromium.org', is_admin=True)
80 self.SetCurrentUser('chris@chromium.org', is_admin=False)
101 self.SetCurrentUser('chris@chromium.org', is_admin=True)
Drequest_handler.py61 is_admin = False
66 is_admin = users.is_current_user_admin()
79 template_values['is_admin'] = is_admin
Dedit_anomaly_configs_test.py43 self.SetCurrentUser('qyearsley@chromium.org', is_admin=True)
62 self.SetCurrentUser('sullivan@chromium.org', is_admin=True)
83 self.SetCurrentUser('sullivan@chromium.org', is_admin=True)
143 self.SetCurrentUser('sullivan@chromium.org', is_admin=True)
Dtesting_common.py90 def SetCurrentUser(self, email, user_id='123456', is_admin=False): argument
93 user_is_admin=('1' if is_admin else '0'),
Dedit_bug_labels_test.py26 self.SetCurrentUser('x@google.com', is_admin=True)
Dadd_point_queue_test.py18 self.SetCurrentUser('foo@bar.com', is_admin=True)
Dedit_site_config_test.py28 self.SetCurrentUser('internal@chromium.org', is_admin=True)
Dedit_config_handler_test.py27 self.SetCurrentUser('foo@bar.com', is_admin=True)
Dchange_internal_only_test.py28 self.SetCurrentUser('foo@bar.com', is_admin=True)
Dnew_points_test.py26 self.SetCurrentUser('foo@chromium.org', is_admin=True)
Dgraph_csv_test.py25 self.SetCurrentUser('foo@bar.com', is_admin=True)
Dmr_test.py38 self.SetCurrentUser('foo@bar.com', is_admin=True)
Dassociate_alerts_test.py32 self.SetCurrentUser('foo@chromium.org', is_admin=True)
Dedit_sheriffs_test.py32 self.SetCurrentUser('foo@bar.com', is_admin=True)
Ddatastore_hooks_test.py233 self.SetCurrentUser('foo@chromium.org', is_admin=True)
Dfind_anomalies_test.py98 self.SetCurrentUser('foo@bar.com', is_admin=True)
Dadd_point_test.py149 self.SetCurrentUser('foo@bar.com', is_admin=True)
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_appengine_users_test.py10 def set_current_user(email, user_id, is_admin=False): argument
13 os.environ['USER_IS_ADMIN'] = '1' if is_admin else '0'
67 set_current_user('foo@bar.com', 'foo@bar.com', is_admin=True)
/external/webrtc/
Dsetup_links.py485 def is_admin(): function
490 if not is_admin():