hello. I am modifying the setup\platform_conf\current\tenant_template_portal\custom-permissions-mapping.properties file to enable the user profile to use the bdm/businessData API. but when I run setup.bat push in my CDM console to apply the changes to the platform, I get the following error.
(Platform Setup 7.14.0)
[INFO] Starting PlatformSetupApplication on <<Server>> with PID 8420 (C:\BonitaBPM-2022.1\setup\lib\platform-setup-7.14.0.jar started by BFlorezP in C:\BonitaBPM-2022.1\setup)
[DEBUG] Running with Spring Boot v2.3.12.RELEASE, Spring v5.2.19.RELEASE
[INFO] The following profiles are active: default
[INFO] configuration for Database vendor: postgres
[INFO] Started PlatformSetupApplication in 1.247 seconds (JVM running for 1.822)
[INFO] Connected to 'postgres' database with url: 'jdbc:postgresql://localhost:5433/Bpm_Journal' with user: 'bonitadev'
[INFO] Configuration currently in database will be replaced by configuration from folder: platform_conf\current
[DEBUG] ERROR:
org.bonitasoft.platform.exception.PlatformException: You are trying to remove a protected folder from configuration: You are not allowed to remove configuration folder for tenant 1. To remove a tenant, please search for 'Platform API' on https://documentation.bonitasoft.com
To restore the deleted folders, run 'setup pull'. You will lose the locally modified configuration.
at org.bonitasoft.platform.setup.PlatformSetup.ensureNoCriticalFoldersAreDeleted(PlatformSetup.java:205)
at org.bonitasoft.platform.setup.PlatformSetup.push(PlatformSetup.java:184)
at org.bonitasoft.platform.setup.command.PushCommand.execute(PushCommand.java:31)
at org.bonitasoft.platform.setup.PlatformSetupApplication.execute(PlatformSetupApplication.java:110)
at org.bonitasoft.platform.setup.PlatformSetupApplication.run(PlatformSetupApplication.java:84)
at org.bonitasoft.platform.setup.PlatformSetupApplication.main(PlatformSetupApplication.java:69)
thanks for your help