Issue
When attempting to delete Path-Based Access Restrictions from the Environment Details in Mendix Portal, the following error message appears.
You are not allowed to delete this Path while it has an active restriction.This error occurs even when the paths in question are set to Allow all access and appear to have no active restrictions.
Environment
Applications hosted in Mendix Cloud
Cause
The system prevents deletion of path-based access restrictions when the application is running and has active path configurations, regardless of whether the paths are set to allow all access, deny all access, or a custom profile. The restriction needs to be fully disabled before the path can be deleted.
Solution/Workaround
To successfully delete an unused path-based access restriction, follow these steps:
- Stop the application. Steps can be found in Environment Details
- Set the path-based access restriction to N/A
- Start the application. Steps can be found in Environment Details.
- Delete the unused path-based access restrictions
Internal information related
- 271766
Additional information
Mendix documentation:
0 Comments