B2C Collaboration Architecture Advice

Hi guys, we’re starting to build out new application which will be customer-facing.
It is first customer-facing application, so we don’t have much experience with it.

I’ve read documentation, chatted with AI FDE and Claude, but still can’t come up with 100% viable design for our use case.

We have ~1k customers from ~100 companies (hence groups). Many ontology object types are built in our private ontology, have connection to external systems, etc. The idea is that customers should see subset of columns of object sets from these ontology objects, filtered to their particular group and would be able to add new records to new object types created for this app specifically, and then reshare these new ontology object types to our main ontology for our internal employees to act on those.

The picture I have in my head after the research is:

  1. Create new organization + new space with ontology;
  2. Share a few excisting projects from our private ontology to new organization;
  3. Set row-level and column-level privacy rules on shared object types to show customers records only related to their company and only specific subset of properties (columns);
  4. Create in new ontology create object types for our new app, alongside with the app itself;
  5. Share project and object types from new ontology to our internal organization;
  6. Create functionality for our internal users to act on those shared object types (make API calls to our external systems using payload from those object types)

How does it look from perspective of security and is it possible at all?

Thanks!

Bumping the topic in case someone is able to reply

Your plan is close, but one change: the cross-org pattern in the docs uses a shared space with its own shared Ontology that both Organizations can access, rather than sharing projects from your private ontology into the new org. Your private ontology stays private, and only what you put in the shared space is visible to both sides.

For “each company sees only its rows and a subset of columns”:

  • Object security policies give you row-level security, for example one group per customer company.
  • Property security policies on top of that give you column-level security. A user has to pass both to see the property.

Customers would be guest members of your enrollment through their own Organization. A user belongs to one Organization but can be a guest in several.

@dpryshchepa did you end up going the shared space route or sharing from the private ontology? happy to help with the object/property security policy setup if you’re stuck on the column part

Haven’t gotten to this part yet, worked mainly on UI, in existing space + ontology so far.

It gets a little bit trickier if I need to share objects first into separate ontology, create actions for ontology types in shared ontology to allow modifications and then sync back to my private ontology.

Still trying to find the easiest, but still secure path to implement this

@dpryshchepa you might not need the sync back part at all. your own org is also on the shared space, so your internal folks can work on the new object types right there in the shared ontology. your private ontology stays as is, you just import the datasets the customers need into the shared space and back the customer-facing object types with those.

the actions for adding new records live in the shared ontology too, and your team picks them up from there. for the per-company filter, the B2C guide has a section on restricted views where an action creates objects in a restricted-view-backed type, pretty much your case.

couple of gotchas: object types can’t link across ontologies, so if the new records need to link to your private objects those objects have to sit in the shared ontology too. and imported data keeps the original org’s marking, so customers won’t see it until that’s removed. building in your existing ontology for now isn’t wasted either, resources can be migrated across ontologies later.

do the new records need to link back to your existing private objects? that decides how much has to move.