I have a data type of “Appointments” which is a private data. Only admin accounts should have access to the Appointments. However, I want to have a tracker page wherein logged out users can check their appointments only if they have the appointment’s Reference ID.
One thing I’m trying is to have a privacy rule where in “when this appointment’s reference code is same as current user’s (appointment reference code)”. However, I’m looking for a better simpler solution?
Basically, a duplicate table of the “Appointment” data type, lets say tableName is “Sat_Appointent”, that has following column.
AppointmentID
AppointmentStatus
And setup the database trigger in the backend workflow, so whenever any changes happen in the “Appointment” data type, it will update the “Sat_Appointment” table too automatically.
Not keep this table as the public (means no privacy rules)
Ankur@ Nocodetalks
Looking for a Bubble Coach? Check out here
I was able to find a solution. Not sure if this is the best way.
I retrieved data via Data API with API TOKEN. This way, we can retrieve all the datas without the user seeing all other datas and without touching the Privacy Rules.