buildPath() will return a built standalone path to your plugin's bundle even if the current running standalone url belongs to another plugin.
You can ignore that by passing true as an argument so Dashboard will return a built path from the running standalone url that the user stands on
getShareablePath() will return a shareable standalone path to your plugin's bundle even if the current running standalone url belongs to another plugin.
You can ignore that by passing true as an argument so Dashboard will return the actual running standalone url that the user stands on
Check if loggedIn user has permission to run StandaloneApp
/* Current permission roles:
admin ✅
powerUser ✅
user ❌
readonly ❌
*/
import { Plugin } from '@root'
const { standalone } = Plugin
// User logged as an admin:
standalone.hasPermission() // return true
// User logged as a powerUser:
standalone.hasPermission() // return true
// User logged as a user:
standalone.hasPermission() // return false
// User logged as a readonly:
standalone.hasPermission() // return false