# Can each tenant have specific properties and how?

**URL:** <https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330>\
**Category:** Support\
**Created:** [December 19, 2024, 12:27pm UTC](https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330 "2024-12-19T12:27:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zzzzela](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/zzzzela/32/3207_2.png) [@zzzzela](https://forum.weaviate.io/u/zzzzela)\
**Post date:** [December 19, 2024, 12:27pm UTC](https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330/1 "2024-12-19T12:27:51Z")

</div>

### Description

I need help with Tenant specific settings like, in my case, each Tenant need to have its own title, description and reference email, just like it has activityStatus property. Also if possible, it should have specific access permission by RBAC.  
Can anyone help me set up that with TS weaviate-client v3?

Thank you!

---

<div class="post-metadata">

**Author:** ![Dirk](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dirk/32/46_2.png) [@Dirk](https://forum.weaviate.io/u/Dirk)\
**Post date:** [December 19, 2024, 9:07pm UTC](https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330/2 "2024-12-19T21:07:10Z")

</div>

Hello!

[quote=“zzzzela, post:1, topic:9330”]  
in my case, each Tenant need to have its own title, description and reference email, just like it has activityStatus property. [/quote]

This is sadly currently not possible, you could do a feature request: [Issues · weaviate/weaviate · GitHub](https://github.com/weaviate/weaviate/issues)

But you can use the tennat name as title and store the other info in a different collection?

> Also if possible, it should have specific access permission by RBAC.

RBAC is still in preview and currently you can only filter access by collection. Per-tenant might come later: [Authorization & RBAC | Weaviate](https://weaviate.io/developers/weaviate/configuration/authorization#rolebased-access-control-rbac)

Currently only the python client has support to add/assign RBAC roles, but the other clients will follow

---

<div class="post-metadata">

**Author:** ![zzzzela](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/zzzzela/32/3207_2.png) [@zzzzela](https://forum.weaviate.io/u/zzzzela)\
**Post date:** [December 26, 2024, 9:11am UTC](https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330/3 "2024-12-26T09:11:48Z")

</div>

Thank you very much for your response @Dirk

_But you can use the tennat name as title and store the other info in a different collection?_

Can you please help me on how could i do that? I’m struggling because as far as I can see, cross references are per object, not per tenant. Please look at this code I have for now:

```auto
const myCollection = client.collections.get('MyCollection')

  const configCollection = client.collections.get('ConfigCollection')

  const tenantA = myCollection.withTenant('TenantA')

  await tenantA.data.referenceAdd({
    from: {
      id: myCollection.id,
      property: 'hasConfig'
    },
    to: {
      id: configCollection.id
    }
  })

```

So far, i dont know how could I add some data in config collection, that should reference each tenant, for example “description” property from “ConfigCollection” for tenantA?

Thank you upfront!

---

<div class="post-metadata">

**Author:** ![Dirk](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dirk/32/46_2.png) [@Dirk](https://forum.weaviate.io/u/Dirk)\
**Post date:** [December 27, 2024, 8:03am UTC](https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330/4 "2024-12-27T08:03:22Z")

</div>

> [@zzzzela](#):
>
> Can you please help me on how could i do that? I’m struggling because as far as I can see, cross references are per object, not per tenant. Please look at this code I have for now:

I would create two collections:

- your multi-tenant collection as you are using it right now
- a second collection `tenantInfo` where you store more info about the tenant
  - set the vectorizer to “none”
  - add a property name, description etc
  - when you want to get the extra info you can query the extra collection with a filter `name==your_tenant_name`

don’t think there is currently a different way to do it 🤔

---

<div class="post-metadata">

**Author:** ![zzzzela](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/zzzzela/32/3207_2.png) [@zzzzela](https://forum.weaviate.io/u/zzzzela)\
**Post date:** [December 30, 2024, 9:50pm UTC](https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330/6 "2024-12-30T21:50:25Z")

</div>

Thank you! And sorry once again for this beginner question. I come from Postgres + pgvector, so all this NoSQL stuff is still a bit confusing to me. 😑

---

<div class="post-metadata">

**Author:** ![Dirk](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dirk/32/46_2.png) [@Dirk](https://forum.weaviate.io/u/Dirk)\
**Post date:** [December 31, 2024, 9:03am UTC](https://forum.weaviate.io/t/can-each-tenant-have-specific-properties-and-how/9330/7 "2024-12-31T09:03:54Z")

</div>

No worries, happy to help!

This is somewhat of a workaround, feel free to add a feature request here: [Issues · weaviate/weaviate · GitHub](https://github.com/weaviate/weaviate/issues)
