# Can we disable the add edit feature of any collection

**URL:** <https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811>\
**Category:** Help me!\
**Created:** [June 29, 2021, 12:44pm UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811 "2021-06-29T12:44:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sourabht](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sourabht](https://community.forestadmin.com/u/sourabht)\
**Post date:** [June 29, 2021, 12:44pm UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811/1 "2021-06-29T12:44:11Z")

</div>

Hi Team,

can we disable the add/edit button or hide it from the listing and detail page.

Thanks,  
Sourabh

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [June 29, 2021, 1:00pm UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811/2 "2021-06-29T13:00:24Z")

</div>

Hello @sourabht,

If you want to disallow the creation and edition for everyone, the simplest is to change the layout preferences of your collection:

1. Click on the 🖌 paintbrush icon on the top right of your screen to activate the **Layout editor**
2. In the sidebar, locate the collection you want to edit, and click on the corresponding ⚙ gear icon
3. In the _General_ tab, uncheck the following options:
  - Allow record creation
  - Allow record update

This will hide the corresponding buttons in the list and in the detail views.

---

<div class="post-metadata">

**Author:** ![sourabht](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sourabht](https://community.forestadmin.com/u/sourabht)\
**Post date:** [June 29, 2021, 1:39pm UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811/3 "2021-06-29T13:39:58Z")

</div>

Thank you @GuillaumeGautreau for your fast response. but in my collection that general tab these options are not available.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [June 29, 2021, 2:15pm UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811/4 "2021-06-29T14:15:15Z")

</div>

Ok, thanks for your answer.

If these checkboxes are not present, it means that your project have the feature “roles” activated, and you can activate or deactivate these features in the roles section of the project settings:

1. Go to your project settings (Click on your name on the top-right, then **project settings** )
2. Click on the **Roles** tab
3. Select the role you want to edit
4. Scroll down to the list of collections,
5. Click on “edit permissions”
6. Uncheck the actions **Update** and **Create** in the appropriate collection
7. Save

---

<div class="post-metadata">

**Author:** ![sourabht](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sourabht](https://community.forestadmin.com/u/sourabht)\
**Post date:** [June 29, 2021, 2:21pm UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811/5 "2021-06-29T14:21:35Z")

</div>

Hi @GuillaumeGautreau ,

I tried the same but it is not working still showing the add button.

Thanks,  
Sourabh

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 30, 2021, 8:27am UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811/6 "2021-06-30T08:27:47Z")

</div>

Hi @sourabht,

It should work though!

Did you select the right environment on the left side of your Roles tab?  
Indeed, the permissions vary from one environment to another.

 ![Capture d’écran 2021-06-30 à 10.22.37](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/5/5516ef8fcf31195c93f0f7400518c53fd10f9648.png)

If despite this clarification you still don’t manage to forbid the add / edit buttons, can you please share:

- your **project name**
- the **environment** and the **collection** you’re on when checking if the buttons are displayed

Thanks.

---

<div class="post-metadata">

**Author:** ![sourabht](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sourabht](https://community.forestadmin.com/u/sourabht)\
**Post date:** [July 1, 2021, 9:42am UTC](https://community.forestadmin.com/t/can-we-disable-the-add-edit-feature-of-any-collection/2811/7 "2021-07-01T09:42:37Z")

</div>

Thank you @GuillaumeGautreau & @anon34731316 .

It is working on a remote environment.

is that work in development environment as in my local.

Thanks.
