//should have the right privilege to assign
response = api.assignPrivilegeToRole("testrole",
"testprivilege", helper.loginAsSuperUser());
assertTrue(response.statusCode == Status.SUCCESS);
response = api.unassignPrivilegeToRole("testrole",
"testprivilege", helper.loginAsInvalidUser());
assertTrue(response.statusCode == Status.ERROR_INVALID_USER);
response = api.unassignPrivilegeToRole("testrole",
"testprivilege", helper.loginAsValidUser());