share data between apps

Avatar

Avatar

ursboller

MVP

Total Posts

1.0K

Likes

485

Correct Answer

250

Avatar

ursboller

MVP

Total Posts

1.0K

Likes

485

Correct Answer

250
ursboller
MVP

27-05-2020

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)

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Mihai_Corlan

Employee

Avatar

Mihai_Corlan

Employee

Mihai_Corlan
Employee

27-05-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

Answers (1)

Answers (1)

Avatar

Avatar

sarahxxu

Avatar

sarahxxu

sarahxxu

27-05-2020

Hi @ursboller ,

Looks like this is related to https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/user-permissions-for-fire...

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