iulianastase / jsonengine

Automatically exported from code.google.com/p/jsonengine
0 stars 0 forks source link

How to query as admin? #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The documentation suggests that data items set as 'private' are accessible to 
the user who created than an to the administrator.

But when I query the datastore for 'prviate' items as admin, I see only the 
items that I created, not the items created by other users. Is there a way for 
the admin to query for all items, regardless of whether they are private or not?

Original issue reported on code.google.com by chrissm9...@gmail.com on 6 Dec 2010 at 5:09

GoogleCodeExporter commented 8 years ago
It is supposed to work as you described: admin can query all the private docs. 
If you find you can't see other user's document even you're logged in as admin, 
please let me know.

Original comment by kazunori...@gmail.com on 13 Dec 2010 at 1:19

GoogleCodeExporter commented 8 years ago
Yes, even when logged in as admin, a query returns only the items I created for 
'private' objects.

Original comment by chrissm9...@gmail.com on 13 Dec 2010 at 1:25

GoogleCodeExporter commented 8 years ago
OK, I'll try to recreate and fix it.

Original comment by kazunori...@gmail.com on 14 Dec 2010 at 3:53

GoogleCodeExporter commented 8 years ago

Original comment by kazunori...@gmail.com on 14 Dec 2010 at 3:54