Please help
I’m building a Bubble.io web app and I thought I understood privacy rules; however, my searches are not showing up on the website. the log says mainly a privacy rules issue. I have data types: User, Company, Subscription, SubscriptionPayment, FundsRequest, RepaymentTransaction. User data type needs to have a connectivity to all other data types, should all data types have a connectivity to User? Additionally, Company needs a connectivity to Subscriptions and SubscriptionPayments, as well as FundRequests. should it be vice versa as well? Subscription needs a connectivity to Company, Subscription payments and Fund Requests, should it be vice versa? Fund requests need a connectivity to Company, Subscriptions and RepaymentTransactions. For better understanding, by creating a field in one data type for another data type, the connectivity is stablished, or should the fields be mapped as well. For example, User data type with a Subscription filed of data type Subscription. Subscription Data type with a User field of type User. In the workflow for creating a Subscription, do I need to map up the User field = User data type? or by simply adding the user field in the Subscription data type the relation is established? Can you do deep, throughout research on Bubble’s privacy rules and let me know the type of rule I should create. For example, for User Data type and Employer user rule: This User is current user and current user is logged in and current user user role is Employer; For Subscription Data type and employer user rule: This Subscription is Current User’s Subscription
and Current User’s UserRole is Employer. Logged in as an employer user, I’m trying to search for Current User’s Subscription’s Stripe’s subscription ID. It keeps telling me "Items hidden because of privacy rules. In the debugger I can see the search only goes as far as the current user’s data field, the subscription data fields cannot be accessed, even though there is an existing record with all the fields for the subscription I’m trying to pull. Also if I’m pulling data, and sending data to stripe to create the subscription, do any of the auto-binding “Crate Via API”, Delete Via API, or Modify via API need to be checked?