mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 01:41:36 +00:00
throw error (that's caught) if delegated admin can't list parent OUs
This commit is contained in:
@@ -10265,7 +10265,7 @@ def doPrintOrgs():
|
||||
for missing_parent in missing_parents:
|
||||
try:
|
||||
result = callGAPI(cd.orgunits(), u'get',
|
||||
customerId=GC_Values[GC_CUSTOMER_ID], orgUnitPath=missing_parent, fields=get_fields)
|
||||
customerId=GC_Values[GC_CUSTOMER_ID], orgUnitPath=missing_parent, fields=get_fields, throw_reasons=[u'required'])
|
||||
orgunits.append(result)
|
||||
except:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user