fix bug for getResObj in rbac.py