I'm having some trouble setting permission in quickblox custom objet.
Lets say I have 2 users: userA
and userB
, they can create object and, by default,
every user can see only it's objects.
I want userB
can access (read) an object of userA so I
set the read permission on the userA
's object this way:
?permissions[read][access]=open_for_users_ids&permissions[read][ids]=<userBid>
the operation seems to success, when I check on the web interface I can see the object with the right permissions but still userB can't access that userA
's object!!
If I update the object from the web (without changing anything, just press the update button),
userB
can see userA's object.
I followed this documentation
What's wrong?
Thanks!