This commit is contained in:
parent
b98b10b2e5
commit
68c08eea58
|
@ -1606,7 +1606,7 @@ class Id(BaseKind):
|
|||
objectIds = proxy.getObjectIds()
|
||||
except faults.UserAccessDenied:
|
||||
continue
|
||||
if role == 'groups' and serverRoles:
|
||||
if role == 'groups' and serverRoles and serverRoles != ['groups']:
|
||||
objectIds = proxy.getObjectIdsWithCriteria(
|
||||
'not object.acceptedRoles or '\
|
||||
' [x for x in object.acceptedRoles if x in %r]' % (
|
||||
|
|
Reference in New Issue