Leiste mit Community-Erfolgen erweitern.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

share data between apps

Avatar

Community Advisor

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)

Themen

Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Employee

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

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Korrekte Antwort von
Employee

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

Avatar

Community Advisor
thanks for this idea with "actions" to trigger other apps!

Avatar

Employee

Hi @Urs_Boller ,

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

Avatar

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