This is a migrated thread and some comments may be shown as answers.

Read all records table private

2 Answers 27 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ignacio
Top achievements
Rank 1
Ignacio asked on 28 Feb 2017, 06:22 PM

Hello,

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

Sort by
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.
 
0
Ignacio
Top achievements
Rank 1
answered on 03 Mar 2017, 08:05 PM

Solved.

Thank you !!!

Tags
General Discussion
Asked by
Ignacio
Top achievements
Rank 1
Answers by
Martin
Telerik team
Ignacio
Top achievements
Rank 1
Share this question
or