KCSAppdataStore queryWithQuery Read Requires Authentication on Shared collection?
80g
started a topic
over 6 years ago
I have a KCSAppdataStore that I'm calling queryWithQuery addQuery: queryOnField: using withExactMatchForValue:, withRegex:, and usingConditional:forValue parameters. When I try to do this without logging in I get the error message:
Error Domain=KCSNetworkErrorDomain Code=401 "No Authorization Found"
Since my DataStore Collection is "Shared" and the query is read-only shouldn't this work without authentication? What am I missing?
Accessing any collection requires login first. Shared means shared between users.
80g
said
over 6 years ago
Got it, so would an acceptable approach be to use KCSUser createAutogeneratedUser: to allow the collection to be queried easily first and then to require sign-in/sign-up to create/update/delete record details?
80g
Error Domain=KCSNetworkErrorDomain Code=401 "No Authorization Found"
Since my DataStore Collection is "Shared" and the query is read-only shouldn't this work without authentication? What am I missing?
-Andy