Add ability to specify suspended/not suspended users for groups and ous (#786)

Simplify specifying ChromeBooks by serial number
This commit is contained in:
Ross Scroggs
2018-08-27 15:26:06 -07:00
committed by Jay Lee
parent fcfbf0a733
commit b107afc13c
3 changed files with 138 additions and 105 deletions

View File

@@ -24,10 +24,12 @@ TRUE = u'true'
FALSE = u'false'
true_values = [u'on', u'yes', u'enabled', u'true', u'1']
false_values = [u'off', u'no', u'disabled', u'false', u'0']
usergroup_types = [u'user', u'users', u'group', u'ou', u'org',
u'ou_and_children', u'ou_and_child', u'query', u'queries',
u'license', u'licenses', u'licence', u'licences', u'file', u'csv', u'csvfile', u'all',
u'cros', u'crosquery', u'crosqueries', u'crosfile', u'croscsv', u'croscsvfile']
usergroup_types = [u'user', u'users',
u'group', u'group_ns', u'grooup_susp',
u'ou', u'org', u'ou_ns', u'org_ns', u'ou_susp', u'org_susp',
u'ou_and_children', u'ou_and_child', u'ou_and_children_ns', u'ou_and_child_ns', u'ou_and_children_susp', u'ou_and_child_susp',
u'query', u'queries', u'license', u'licenses', u'licence', u'licences', u'file', u'csv', u'csvfile', u'all',
u'cros', u'cros_sn', u'crosquery', u'crosqueries', u'crosfile', u'croscsv', u'croscsvfile']
ERROR = u'ERROR'
ERROR_PREFIX = ERROR+u': '
WARNING = u'WARNING'