0

I have the following code that works great in Folsom:

#remove the user for each role associated with the user
    user_roles = kc.users.list_roles(obj_id, currtenant)
    for role in user_roles:
        if obj_id == user.id:
            kc.tenants.remove_user(currtenant, obj_id, role.id)

That same code will remove ALL users rather than just the user with the id, obj_id from the tenant specified. anyone else have this issue in Grizzly?

4

1 回答 1

0

找到了答案,这是 Grizzly 代码库的一个已知问题。 https://bugs.launchpad.net/keystone/+bug/1170649

该错误还包括建议的修复。

于 2013-05-09T21:45:13.673 回答