share data between apps | Community
Skip to main content
Urs_Boller
Community Advisor
Community Advisor
May 27, 2020
Solved

share data between apps

  • May 27, 2020
  • 2 replies
  • 5482 views

is it possible that 2 apps use the same namespace and acces the same file system as described here: https://github.com/adobe/aio-lib-files

the use case is to have one app that just display data (for users with no access to all the Adobe API) and another app which performs all the background tasks (API actions)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by mihai-corlan

Hello,

The solution is to create an action that acts as an endpoint for reading data from the other application. Our security model assumes that each application owns its data. If it needs to share data with another application, it can use custom events or expose an endpoint.

 

Thank you,

Mihai

2 replies

mihai-corlanAdobe EmployeeAccepted solution
Adobe Employee
May 27, 2020

Hello,

The solution is to create an action that acts as an endpoint for reading data from the other application. Our security model assumes that each application owns its data. If it needs to share data with another application, it can use custom events or expose an endpoint.

 

Thank you,

Mihai

Urs_Boller
Community Advisor
Community Advisor
May 28, 2020
thanks for this idea with "actions" to trigger other apps!
sarahxxu
Adobe Employee
Adobe Employee
May 27, 2020

Hi @urs_boller ,

Looks like this is related to https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/user-permissions-for-firefly/qaq-p/364176#M9?

Similar to that question, we recommend practicing caution when considering a solution to share data between applications as it can give users access to data that they are not supposed to be able to see. 

In regards to the file lib, it is tied to one namespace at the moment and doesn't allow cross-namespace access. 

Sarah

Urs_Boller
Community Advisor
Community Advisor
May 28, 2020
But is it possible that 2 apps access the same single namespace for filelib? or is the filelib unique to a single app?