How can I read/get data from all records on a table with permissions type private ?
Whith the api-key I can get only the one user records.
Thanks.
2 Answers, 1 is accepted
0
Accepted
Martin
Telerik team
answered on 02 Mar 2017, 12:30 PM
Hi Ignacio,
When the content type permissions are set to "private" only the items owner (the user who created them) will be able to read the items. You may change the content type permissions to "shared" for example or "Role-Based" so that other users can read the data items (but not update or delete them).
If you need to stick to permissions "private" you may override the restriction by using your master key to execute operations using the JavaScript SDK or make HTTP requests using the REST API.
Please note the master key should never be used client-side (in the app), nor should it be disclosed to third parties even in a human-unreadable form. You may safely use it inside Telerik Platform Cloud Code or to execute requests from your own server as thus only you will have access to the master key.
Let me know if this has helped.
Regards,
Martin
Telerik by Progress
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.