diff --git a/bpm/bonita-web-server/src/main/java/org/bonitasoft/web/rest/server/SpringWebConfiguration.java b/bpm/bonita-web-server/src/main/java/org/bonitasoft/web/rest/server/SpringWebConfiguration.java index 0ebe54eea8..bad5bcb019 100644 --- a/bpm/bonita-web-server/src/main/java/org/bonitasoft/web/rest/server/SpringWebConfiguration.java +++ b/bpm/bonita-web-server/src/main/java/org/bonitasoft/web/rest/server/SpringWebConfiguration.java @@ -26,7 +26,7 @@ @Configuration @EnableWebMvc -@ComponentScan({ "org.bonitasoft.web.rest.server.api" }) +@ComponentScan({ "org.bonitasoft.web.rest.server.api", "com.bonitasoft.web.rest.server.api" }) public class SpringWebConfiguration extends WebMvcConfigurationSupport { @Bean diff --git a/platform/platform-resources/src/main/resources/tenant_template_portal/resources-permissions-mapping.properties b/platform/platform-resources/src/main/resources/tenant_template_portal/resources-permissions-mapping.properties index fa6e6494ff..e9bfe08614 100644 --- a/platform/platform-resources/src/main/resources/tenant_template_portal/resources-permissions-mapping.properties +++ b/platform/platform-resources/src/main/resources/tenant_template_portal/resources-permissions-mapping.properties @@ -138,6 +138,7 @@ PUT|bpm/timerEventTrigger=[flownode_management] GET|bpm/diagram=[process_visualization] POST|bpm/message=[flownode_management] POST|bpm/signal=[flownode_management] +GET|bpm/failure=[flownode_management, case_management] # Portal resources GET|portal/profile=[profile_visualization] diff --git a/services/bonita-authorization/src/main/resources/org/bonitasoft/engine/authorization/properties/dynamic-permissions-checks.properties b/services/bonita-authorization/src/main/resources/org/bonitasoft/engine/authorization/properties/dynamic-permissions-checks.properties index fc74aed35c..cd3a1a50ed 100644 --- a/services/bonita-authorization/src/main/resources/org/bonitasoft/engine/authorization/properties/dynamic-permissions-checks.properties +++ b/services/bonita-authorization/src/main/resources/org/bonitasoft/engine/authorization/properties/dynamic-permissions-checks.properties @@ -136,6 +136,8 @@ PUT|bpm/connectorInstance=[profile|Administrator, profile|Process\u0020manager, GET|bpm/archivedConnectorInstance=[profile|Administrator, check|org.bonitasoft.permissions.ConnectorInstancePermissionRule] GET|bpm/connectorFailure=[profile|Administrator, profile|Process\u0020manager] +# BPM failures +GET|bpm/failure=[profile|Administrator] # UserPermissionRule # Let the user access and modify only himself