# \[✔︎ FIXED\] Relation to a different type with the same name

**URL:** <https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140>\
**Category:** Bugs & Issues\
**Created:** [March 29, 2019, 8:50am UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140 "2019-03-29T08:50:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/dimka/32/90_2.png) [@dimka](https://community.fibery.io/u/dimka)\
**Post date:** [March 29, 2019, 8:50am UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140/1 "2019-03-29T08:50:25Z")

</div>

Hi.

I created two custom apps — iOS and Android. Each has type “Task”. Each type has relation to user. I can create relation `iOS:Task->Fibery:User`, but when I try to create relation `Android:Task->Fibery:User` it shows an error of `Cannot create null attribute. Attribute :user/bugs for type :fibery/user already exists`. Probably same type name in different apps is the cause.

 ![02](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/3/38637ea1e620b5aa33299c023954e1beed55dbc8.png)

---

<div class="post-metadata">

**Author:** ![alex.mart](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/alex.mart/32/247_2.png) [@alex.mart](https://community.fibery.io/u/alex.mart)\
**Post date:** [September 13, 2019, 7:56pm UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140/2 "2019-09-13T19:56:49Z")

</div>

May be we don’t understand this as a bug, but a poka-yoke-feature! I think you do not need to create a copy of App with the same structure. But i know that Fibery still have feature whitch to set diffrent user read-permissions by filter, for example, by departaments “ios” or “android”. Dear developers, we waiting to this feature very hard!

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [September 16, 2019, 6:27pm UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140/3 "2019-09-16T18:27:59Z")

</div>

Could you clarify what case want need to support?

---

<div class="post-metadata">

**Author:** ![alex.mart](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/alex.mart/32/247_2.png) [@alex.mart](https://community.fibery.io/u/alex.mart)\
**Post date:** [September 17, 2019, 5:32pm UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140/4 "2019-09-17T17:32:47Z")

</div>

> But i know that Fibery still have feature whitch to set diffrent user read-permissions by filter, for example, by departaments “ios” or “android”. Dear developers, we waiting to this feature very hard!

Michael, if you ask question about it, i was mean than we need hide some entites not only by type (for example, our customer will can view only User Stories, not Tasks), but also by field value, (for example, we have three customers (entity type “Customer”, and relations on task to it), and we want to share with each customer a View only of their tasks.

Long formulated, thank you for reading )

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [September 17, 2019, 5:51pm UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140/5 "2019-09-17T17:51:10Z")

</div>

I got it, we call it Entity permissions. We are not going to release this feature till November, but then we will get feedback after public release and set our priorities.

---

<div class="post-metadata">

**Author:** ![alex.mart](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/alex.mart/32/247_2.png) [@alex.mart](https://community.fibery.io/u/alex.mart)\
**Post date:** [September 17, 2019, 5:57pm UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140/6 "2019-09-17T17:57:49Z")

</div>

Would you already planned both of features in Entity permissions, which i describe (permission by type and permission for view entites by value of relation field)?

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [December 1, 2019, 7:11pm UTC](https://community.fibery.io/t/fixed-relation-to-a-different-type-with-the-same-name/140/7 "2019-12-01T19:11:42Z")

</div>

@dimka This bug was already fixed
