Forum Academy Marketplace Showcase Pricing Features

Invite other users to access same documents


Say I have a website that allows users to upload pictures of their dogs. In order to do this you need to create an account, lets call this user1. Now if user1 wants to allow user2 to upload pictures of their dog to the same repository(user1s) how do they go about doing this?


I implemented this by have two lists of users on each User.

Having either one or the other works, but it makes some of the queries easier to have both.

“in_friends_list” is a list of all users that have said you are a friend.

“my_friend_list” is a list of all users that you have a friend.

So you can check the “in_friends_list” to see if User2 can upload to User1’s dog photo booth.

I’ll have to give it a try. Will report back.