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 ?
Thanks, Tom
This topic was modified 5 years, 2 months ago by Andrey Yatsenko. Reason: fixed typo: business user > business unit
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: \Oro\Bundle\OrganizationBundle\Ownership\OwnerDeletionManager::hasAssignments($owner)
Author
Replies
Viewing 1 replies (of 1 total)
The forum ‘OroCommerce’ is closed to new topics and replies.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.