How to link 2 users as contacts of each other.

0 votes
How to manage contacts link two users as a friends. Is there a standard Shephertz way to manage that.
 
Example:
I have a user  with username jonny. I have other user say peter , john.
If jonny is frend with peter and john. How to link them in Shephertz way.
 
 
asked Mar 4, 2015 in App42 Cloud API-BaaS by owaistnt (10 points)

1 Answer

0 votes

Hello Owais,

You can use storage service to achieve this objective. For this, first you need to create ACL enable app from AppHQ Management console and after that add your contact as a JSON document in storage service. After adding/saving JSON document in App42 database, you can provide access to those users whom you want to link on that document using grant access on doc feature of App42 Storage service. 

Kindly find some useful links below and let us know if it help:

·         Saving App data in Storage

·         Querying your App data 

·         Security your data and giving access to other user

·         Best Practices for data modelling in Storage Service

 

Thanks,

Himanshu Sharma

answered Mar 4, 2015 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...