/external/autotest/cli/ |
user.py | 57 [--acl <ACL>|--access_level <n>]""" 64 self.parser.add_option('-l', '--access_level', 71 self.access_level = options.access_level 82 if self.access_level: 83 filters['access_level__in'] = [self.access_level] 97 keys = ['id', 'login', 'access_level']
|
user_unittest.py | 43 sys.argv = ['atest', '--access_level', '3'] 45 self.assertEqual('3', ul.access_level) 58 self.assertEqual('4', ul.access_level) 67 [{u'access_level': 0, 70 {u'access_level': 0, 73 {u'access_level': 2, 84 [{u'access_level': 2, 95 [{u'access_level': 2, 103 self.run_cmd(argv=['atest', 'user', 'list', '--access_level', '2'], 106 [{u'access_level': 2 [all...] |
/external/autotest/frontend/afe/ |
rpc_interface.py | 640 def add_user(login, access_level=None): 641 return models.User.add_object(login=login, access_level=access_level).id [all...] |
models.py | 326 access_level: 0=User (default), 1=Admin, 100=Root 335 access_level = dbmodels.IntegerField(default=ACCESS_USER, blank=True) variable in class:User 365 return self.access_level >= self.ACCESS_ROOT 377 user.access_level = cls.ACCESS_ROOT [all...] |