# How we can implement data/tables delete permission in shopware plugin?

**URL:** <https://forum.shopware.com/t/how-we-can-implement-data-tables-delete-permission-in-shopware-plugin/60495>\
**Category:** Plugins\
**Created:** [18. Juli 2019 um 07:02 UTC](https://forum.shopware.com/t/how-we-can-implement-data-tables-delete-permission-in-shopware-plugin/60495 "2019-07-18T07:02:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abinjohnedamana](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/abinjohnedamana/32/17378_2.png) [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Post date:** [18. Juli 2019 um 07:02 UTC](https://forum.shopware.com/t/how-we-can-implement-data-tables-delete-permission-in-shopware-plugin/60495/1 "2019-07-18T07:02:56Z")

</div>

Hi, I am&nbsp;developing a plugin. I read the following from

“If you click on “Install / Uninstall” in the plugin manager, the shop owner must be offered the options “completely delete” or “keep the plugin data and table adjustments”.”

[https://docs.shopware.com/en/plugin-standard-for-community-store](https://docs.shopware.com/en/plugin-standard-for-community-store).

How we can implement this?

Are there any free&nbsp;plugins contains this feature?

Or any Shopware documentation is for this feature?

Please help me.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [18. Juli 2019 um 07:06 UTC](https://forum.shopware.com/t/how-we-can-implement-data-tables-delete-permission-in-shopware-plugin/60495/2 "2019-07-18T07:06:33Z")

</div>

[https://developers.shopware.com/developers-guide/shopware-5-plugin-update-guide/#uninstall](https://developers.shopware.com/developers-guide/shopware-5-plugin-update-guide/#uninstall)

[https://github.com/shopwareLabs/SwagPaymentPayPalUnified/blob/master/Setup/Uninstaller.php#L48](https://github.com/shopwareLabs/SwagPaymentPayPalUnified/blob/master/Setup/Uninstaller.php#L48)

This should make it clear, i guess.

---

<div class="post-metadata">

**Author:** ![abinjohnedamana](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/abinjohnedamana/32/17378_2.png) [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)\
**Post date:** [18. Juli 2019 um 07:23 UTC](https://forum.shopware.com/t/how-we-can-implement-data-tables-delete-permission-in-shopware-plugin/60495/3 "2019-07-18T07:23:51Z")

</div>

Thank you @Moritz Naczenski for your quick response.
