I’m trying to access data from a mysql database using gasoline truck page.
When i test the query within the gasoline page it returns the rusults correctly, so I believe i did setup the datasource properly.
However when i try to access the query directly using the same user logged in I get a 403:
http://localhost:8080/bonita/portal/custom-page/custompage_gasolinetruck/?page=custompage_gasolinetruck&action=query&queryId=crmLeads&imie=Adam
also when accessing the query from External API in UI Designer, no results are returned:
…//portal/custom-page/custompage_gasolinetruck/?page=custompage_gasolinetruck&action=query&queryId=crmLeads&imie=Adam
I did add permissions like:
GET|portal/custom-page/custompage_gasolinetruck=[testPermission]
in the resources-permissions-mapping-custom.properties file
as well as
profile|User=[testPermission]
profile|Administrator=[testPermission]
in the custom-permissions-mapping.properties
I’m testing on Windows 10 with Bonita Studio CE 7.7.4 and page_gasolinetruck 1.6.1
Did I miss something in the configuration or am I using wrong url to acces the query data?