def update_role_cache(self, role_defn):
        if not self.active_roles:
            self.init_roles()

        try: