-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can profiles be made private? #56
Comments
Hi @emaadparacha, sure you can. Simply move these routes. Just like we have in these lines. Every time someone search for a profile without login, then click the |
Awesome! And is it possible to have only the connections see stuff like address and phone number? So like if someone is my wife or a cousin, only then they can see those fields. This would tie in with #57 where connections would have to be approved, and only that way they can see the information. Would something like that be possible? |
Hello @emaadparacha, sorry for being a very slow response in pas view weeks. Regarding your idea.
Or a higher connection I haven't figured out how this user to user connections inside the family tree. Maybe if you or someone can help to figure the logic or even create pull request, I will be very helpful. What do you think, @emaadparacha?
|
Hi @nafiesl , thanks for getting back! You do raise an interesting point about the limits. I was somewhat thinking the following logic: Everyone's direct descendants (and their descendants) would have access. And access would be mutual (if I have access to someone's information, they have access to mine). This would mean that my son/daughter, their spouses (just their spouses), their children and their spouses, and further down (and also up, my father, grandfather, etc). Spouses' information would be limited to spouses' parents and siblings and their spouses, but not further. And manually people can choose to add other people within their "close circle" (so as to share information), and remove them if needed. What do you think? Is that something that's somewhat integrateable, if at all possible? |
Hey @nafiesl , not sure if you were able to review the "blueprint" of sorts, and whether it would be reproduce-able within the code, but just wanted to check in regarding that. Thanks! |
Hello @emaadparacha, sorry I missed this issue for a few weeks because quite busy in my office 😅 Regarding your idea, let me rewrite it :
For point 1-4, we need to write the logic to make it automatic (every time we access someone's profile page). If we implement point 5, then we don't need a complex logic to implement point 1-4, because every time we add a person as our family member we can add them to the table, and everyone can easily allow or block a person from seeing their profile. Are we have the same point, @emaadparacha? Or did I missed something? Thank you @emaadparacha. |
Hi @nafiesl , thank you so much for taking the time out still! As for the points you mentioned, that's roughly the idea. But you do raise a good point, if we go with point 5, it kind of covers points 1-4 as well. How easy would that be to implement within it? |
I think we can implement this in 2 steps: Step 1We implement point 5, where :
Step 2After the first step is done, we need somehow to make the family member relation automatically created whenever a user created by other user. Eg: User A creates new User C, then user C will automatically be connected with his/her spouse, child, and parent (direct relation first). And User C will be connected (automatically) with user A as well (the user creator). This need different PR. Optional (nice to have) FeatureStep 1 will lead us to implement a notification feature on this project, to notify if someone adds us as his/her family member 😅 But this is optional, we can implement it as step 3 if we want. How is that sound @emaadparacha? |
Hi @nafiesl , I like Step 1, since it tackles both the issue of having an account and not having an account. For Step 2, you mean that if User C does not have an account right? |
Can you help with Step 1, @emaadparacha? I am still occupied on my main job until around the 3rd week of September. I will review your PR once you submit it. |
@nafiesl, Just a tiny disclaimer hahah, I'm not super proficient in Laravel, but I can of course try giving it a shot in my free time and see what comes of it. Thanks again though for the help and good luck with work!! We'll loop back soon then |
Hehe, gotcha, @emaadparacha. No thanks to you, you give much attention to this project. I really appreciate it. |
Assalamualaikum Pak Nafies, any update on this? p.s. great work, barakallah. |
Waalaikumussalam @haniefss. I haven't started working on this one, in fact, I almost forgot about this. I don't know how many people using this project on a live server, me my-self using this only on localhost 😁 OK, I think I can start working on Step 1 around next week. I will mention you and @emaadparacha once the PR is ready for review. To make sure the feature will fit our requirements. Thanks. |
I'm glad that you still maintain this project and willing to work on this feature, I never use laravel before so I'll need sometime to get used to if I were gonna do it myself 😭 I'm thinking to put this live so it'll be a lot easier to collaborate with some (older) family member to complete our family tree, making privacy and security become requirements. |
Right now if someone writes their address and phone number, they're public to the everyone on a live server, whether they are logged in or not. Can the profiles be made private until the person registers or private to only a select few who are in the person's family tree?
The text was updated successfully, but these errors were encountered: