#App Permissions

18 messages · Page 1 of 1 (latest)

upbeat jackal
#

Could we please add APPS_INSTALLER.INSTALL_SITE_LEVEL to the permissions list so i am able to use { appsInstaller }

https://dev.wix.com/docs/api-reference/business-management/app-installation/install-app?apiView=SDK

Thought i would share here as this is not a API that is talked about much but also the backend requires a permissions that is not listed.

Thanks

upbeat jackal
#

Can't use createAppPermission() either 🙁

glacial mulch
#

Are you trying to install an app with another app?

#

This is mainly for API key use outside of app context

upbeat jackal
upbeat jackal
glacial mulch
#

If you wish to allow users of X app to install Y app from the X app context, only redirect to share link/link to app listing of the app if it is a published one

upbeat jackal
#

This is why i found { appInstaller } but seems like it requires APPS_INSTALLER.INSTALL_SITE_LEVEL but is not in the permissions list. There is another permission called APPS_INSTALLER.INSTALL_ACCOUNT_LEVEL which then does require a API key but i believe APPS_INSTALLER.INSTALL_SITE_LEVEL works with fetchWithAuth()

glacial mulch
#

Dependency on Wix apps is handled by us. So if you mark your app as dependant on Wix Stores, and site does not have Wix Stores, he will be prompted to install Wix Stores (For Blocks apps the install is even done silently)

#

Oh I see now
Generally the app will have no dependencies - but based on decisions made by the site owner after installing your app, you want to allow the installation of Wix apps

upbeat jackal
upbeat jackal
#

When I try to use this API I just get a permission declined error then after looking at the permissions I found there was two - site level and account level. Please do correct me if I’m wrong but anything that is site level would work with fetchWithAuth() and anything that is account level requires a API key

glacial mulch
#

Site level and account level are API keys terms. This endpoint is not meant to used by apps.
However, we are working on endpoint to initate app installations. This is already passed the design phase and we will release it this month/next month

upbeat jackal
glacial mulch
#

We will make sure to have it cleared