var url = serverRelativeUrl + "MyServer/_api/web/lists/GetByTitle('Test')/items";

        var httpRequest = $http({
            method: 'GET',
            url: url,
            crossDomain: true,
            withCredentials: true,
            headers: { "Accept": "application/json;odata=verbose" }
        }).success(function (data, status, headers, config) {
          //some stuff here

When I login as site collection administrator, I can access Test list successfully, but when i login as ordinary site user, i could not access list data.

I am not sure but It looks like some authentication and/or List permission issue. How can I solve this issue?

  • What permission does the normal user have on the site and the list? – harshal gite Sep 13 at 8:31
  • Read access on site & list. – SPBeginer Sep 13 at 9:04
  • What is the error you are getting? Can you please post it? – Ganesh Sanap Sep 13 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.