# Related data accessible actions : create & dissociate

**URL:** <https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628>\
**Category:** Feature suggestions\
**Created:** [May 4, 2022, 1:15pm UTC](https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628 "2022-05-04T13:15:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeremyV](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jeremyv/32/1033_2.png) [@JeremyV](https://community.forestadmin.com/u/JeremyV)\
**Post date:** [May 4, 2022, 1:15pm UTC](https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628/1 "2022-05-04T13:15:41Z")

</div>

This is following this [topic](https://community.forestadmin.com/t/create-button-shouldnt-visible-in-related-data/4503)

In some collections accessible via related data, in the table view, I want to prevent users to access the “Dissociate the relationship” action.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/3e914fbd7a88ae135e75f562818a3ef05af6645e.png)

But at the same time, I want them to be able to access the + button to create a new record  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/9/9b244e18043be716f39c872510dcb7d7a8654858.png)

If I put the related field to Read-only, I indeed remove access to the dissociate the relationship action, but as well as the create new record option, which I want to keep accessible.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/4/46c69f752705076b8e04c74122dfe9a5b43fced7.png)

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [May 4, 2022, 2:30pm UTC](https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628/2 "2022-05-04T14:30:08Z")

</div>

Hello,  
You can add a [role](https://docs.forestadmin.com/user-guide/project-settings/teams-and-users/manage-roles) to your users and remove “delete” and “update” permissions to prevent the “dissociate” and the “delete” actions.

---

<div class="post-metadata">

**Author:** ![JeremyV](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jeremyv/32/1033_2.png) [@JeremyV](https://community.forestadmin.com/u/JeremyV)\
**Post date:** [May 4, 2022, 2:33pm UTC](https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628/3 "2022-05-04T14:33:58Z")

</div>

Hi @Alban_Bertolini

I would like my users to continue to be able to edit a record, but at the same time I don’t want any orphan record, hence I don’t want to allow access to the dissociate action.

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [May 4, 2022, 2:48pm UTC](https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628/4 "2022-05-04T14:48:51Z")

</div>

In your model, the relation is required ? Because if the relation is required, when the user will click on dissociate the request will fail.

---

<div class="post-metadata">

**Author:** ![JeremyV](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/jeremyv/32/1033_2.png) [@JeremyV](https://community.forestadmin.com/u/JeremyV)\
**Post date:** [May 11, 2022, 7:56am UTC](https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628/5 "2022-05-11T07:56:11Z")

</div>

I’m not in charge of the DB, have no admin access on it and the issue is users have been able to dissociate relationships.

I just want to hide the dissociate action, and users should be able to edit their records.

I’m fully aware there’s no easy way to do it right now.

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [May 18, 2022, 11:33am UTC](https://community.forestadmin.com/t/related-data-accessible-actions-create-dissociate/4628/6 "2022-05-18T11:33:48Z")

</div>

Hello,  
I have switch your request to the “Feature suggestions” category because actually it not possible.  
Thanks you for the report.
