$authorization_obj->assert_role($user_id, "role_name"); # note that this object knows nothing about usernames/passwords - it assumes the user is a known user