OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce No permission to delete a business unit as administrator

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 1 year, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #38180

    Tom Van Overbeke


    I created a business unit for testing purposes, and now I can’t delete it anymore.
    There are no users attached to it. And I have the administrator role.

    ‘You do not have permission to perform this task’

    How can I get rid of it ?


    • This topic was modified 1 year, 6 months ago by Andrey Yatsenko Andrey Yatsenko. Reason: fixed typo: business user > business unit
Viewing 1 replies (of 1 total)
  • Author
  • #38213
    Andrey Yatsenko
    Andrey Yatsenko

    Hi Tom,

    This is a known issue, that happens because the Business Unit is an owner to some related entities.

    For delete business unit need to remove all relations, and unfortunately, some of them can’t be deleted from UI, so you need to do it from the database directly or with the migration that will delete first all related entities.
    To know the list of related entities you can debug with the breakpoint at this method:

Viewing 1 replies (of 1 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No