ares
Posts: 0
Joined: Mon Nov 04, 2013 12:42 pm

DBSQ254 - You don't have permission to access system collections.

Why I can't read from user collection?
I'm getting this error:

{
"status":"403 Forbidden",
"url":"https://api.appery.io/rest/1/db/colle...",
"response":{
"code":"DBSQ254",
"description":"You don't have permission to access system collections."
}
}

Tried by supplying the session token and _id of user to a user read service, even tried with only _id an donly session and without both.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

DBSQ254 - You don't have permission to access system collections.

Hello! Could you post screenshot from service settings and request parameters tab?

ares
Posts: 0
Joined: Mon Nov 04, 2013 12:42 pm

DBSQ254 - You don't have permission to access system collections.

I've sloved it. Now I've another similiar problem. In my above problem I was trying to read the user. I've solved that.

Here I'm trying to delete user, and getting this error. Image

Vladimir Fesko
Posts: 0
Joined: Sun Oct 20, 2013 6:21 am

DBSQ254 - You don't have permission to access system collections.

I believe you should check an "acl" field value of user being deleted - probably your session token is owned by user which is not listed in acl object.

ares
Posts: 0
Joined: Mon Nov 04, 2013 12:42 pm

DBSQ254 - You don't have permission to access system collections.

This is acl value of user

{"*":{"read":true},"52776adde4b0650b04d61647":{"read":true,"write":true}}

Actually it's like admin, one deleting other user.

Vladimir Fesko
Posts: 0
Joined: Sun Oct 20, 2013 6:21 am

DBSQ254 - You don't have permission to access system collections.

And is session token used in request for user "52776adde4b0650b04d61647" ? And is it still valid? It expires in 2h or so.

ares
Posts: 0
Joined: Mon Nov 04, 2013 12:42 pm

DBSQ254 - You don't have permission to access system collections.

Yes find out another thing.

A user can delete himself, but can't delete other. How can I do that???

Return to “Issues”