We are using CB as a client portal for a doggy daycare business. In short, each profile represents one dog and we use articles as like report cards for each dog. So far it works like a charm and has been great.
Question, is there a way that we can create a script that may allow profile access to multiple profiles (dogs) that may belong to a same owner? In other words, a registered user can log in to view his own profile and another profile that is approved with permission?
I'm not sure it's going to be possible to do that without completely modifying the login flow. You'd need some sort of second stage process to the login to select the profile they want to login as. So that would require a lot of custom coding work.
Typically for a site like this you'd make the profiles the customer and in those profiles you'd use something like CB Field Groups to have a repeating group of fields that they would use to fill out information about their dogs. This way they'd only have 1 profile, but can display information about each dog on that profile perfectly fine.
It might be possible with something like CB Auto Actions to quickly let them switch to a different account using the Login action type, but they'd still be 2 completely separate accounts. This would be like our Login As buttons on our demo site where you simply click it and automatically login as that user.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.