# Collection permission issue with related data tables

**URL:** <https://community.forestadmin.com/t/collection-permission-issue-with-related-data-tables/3523>\
**Category:** Help me!\
**Created:** [October 12, 2021, 6:33pm UTC](https://community.forestadmin.com/t/collection-permission-issue-with-related-data-tables/3523 "2021-10-12T18:33:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://community.forestadmin.com/u/jules)\
**Post date:** [October 12, 2021, 6:33pm UTC](https://community.forestadmin.com/t/collection-permission-issue-with-related-data-tables/3523/1 "2021-10-12T18:33:00Z")

</div>

Hi,

A Forest user has an attributed role with all permissions disabled for one collection, this collection has a one-to-many relationship with another collection, in the summary page of the other collection-related table details should be hidden.  
Example: customers have many products. In the customer Summary list of products related to the customer is displayed.  
I create one forest role with no permissions on products collection and read permission on the customer table. Forest users with this role keep a view of the product collection from the customer summary view. I expect this part to be hidden.

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [October 13, 2021, 7:52am UTC](https://community.forestadmin.com/t/collection-permission-issue-with-related-data-tables/3523/2 "2021-10-13T07:52:55Z")

</div>

Hello @jules,

Indeed, that make sense to not display products for users that have no permissions. I will sync with a colleague to understand what’s going on here.

But first, can you please share your package version / name ?

Thanks in advance,  
Morgan

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://community.forestadmin.com/u/jules)\
**Post date:** [October 13, 2021, 10:12am UTC](https://community.forestadmin.com/t/collection-permission-issue-with-related-data-tables/3523/3 "2021-10-13T10:12:41Z")

</div>

Alright.  
“forest-cli”: “^2.3.4”,  
“forest-express-sequelize”: “^8.3.2”,  
“pg”: “^8.7.1”,  
“sequelize”: “^6.6.5”,

“liana”: “forest-express-sequelize”,  
“liana\_version”: “8.3.2”,  
“stack”: {  
“database\_type”: “postgres”,  
“engine”: “nodejs”,  
“engine\_version”: “14.17.6”,  
“orm\_version”: “6.6.5”  
}

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [October 13, 2021, 11:32am UTC](https://community.forestadmin.com/t/collection-permission-issue-with-related-data-tables/3523/4 "2021-10-13T11:32:42Z")

</div>

Hey @jules,

Can you also share the role in question ? 🙏  
A colleague will take on from this point since he is an expert on the permission/role system.

Kind regards,  
Morgan
