'Check which APIs that support SSC functionality are available.'

def check_api_permissions(self):

    inaccessible_apis = []
    invalid_extra_specs = []
    for (api_tuple, extra_specs) in SSC_API_MAP.items():
        (object_name, operation_name, api) = api_tuple
        if (not self.zapi_client.check_cluster_api(object_name, operation_name, api)):
            inaccessible_apis.append(api)
            invalid_extra_specs.extend(extra_specs)
    if inaccessible_apis:
        if ('volume-get-iter' in inaccessible_apis):
            msg = _('User    not    permitted    to    query    Data    ONTAP    volumes.')
            raise exception.VolumeBackendAPIException(data=msg)
        else:
            LOG.warning('The    configured    user    account    does    not    have    sufficient    privileges    to    use    all    needed    APIs.    The    following    extra    specs    will    fail    or    be    ignored:    %s.', invalid_extra_specs)
