Open ebruchez opened 2 months ago
We obtain the list of possible app/form/version triplets by calling the Form Metadata API, which doesn't return orbeon
/builder
. A quick hack to simply return it allows exporting Form Builder data, but it has the following issues:
orbeon
/builder
shows on the Published Forms and Admin pagesFor backward compatibility, we should not return orbeon
/builder
by default anyway.
orbeon
/builder
doesn't show on the Published Forms and Admin pages
form-builder-permissions.xml
matter?Scenario: we want to handle orbeon
/builder
specifically for the export.
I am trying to understand again how permission parameters work with the Form Metadata API.
all-forms=false
ignore-admin-permissions= false
(the default), like for the Admin pageall-forms=false
(the default)ignore-admin-permissions= false
all-forms=false
(the default)ignore-admin-permissions= true
Reminder to myself: we have a distinction between:
form-builder-permissions.xml
Based on this:
create
or read
create
or read
Bottom line:
isInternalAdminUser
parameter only impact reading/deleting form data, impacting the CRUD and Search APIs, but not the Form Metadata API.Further tasks:
form-builder-permissions.xml
; add a parameter to allow exporting everything?Options for orbeon
/builder
orbeon
/builder
orbeon
/builder
Benefits and drawbacks:
orbeon
/builder
in the Export dialog, we don't want to list it in the Admin page table (probably)Case of app-based multitenancy: user has access to app acme
, Form Builder data export should only export form data with app acme
.
Is this on purpose, or just because the builder app is in the resources provider?