-
Notifications
You must be signed in to change notification settings - Fork 0
TPAs: As a developer I want to turn the TPA system into its own service #214
Copy link
Copy link
Open
Labels
RefactoringThis issue refactors a part of the codebaseThis issue refactors a part of the codebaseService HostThis involves the service host or any system servicesThis involves the service host or any system servicesThird-party applicationsThis issue is related to the TPA frameworkThis issue is related to the TPA frameworkUser DaemonInvolves the user daemon or user contextsInvolves the user daemon or user contextsenhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
RefactoringThis issue refactors a part of the codebaseThis issue refactors a part of the codebaseService HostThis involves the service host or any system servicesThis involves the service host or any system servicesThird-party applicationsThis issue is related to the TPA frameworkThis issue is related to the TPA frameworkUser DaemonInvolves the user daemon or user contextsInvolves the user daemon or user contextsenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for Task.
Ever since its inception, the TPA system has been a scattered around bit of functionality in ArcOS. The props and supplementaries live under
JsExec, the spawning lives inSpawnUserContext, etcetera. I'd like for the TPA code execution to be consolidated into its own service, theTpaService.The
TpaServiceshould only be activated if and when TPAs are enabled (UserPreferences.security.enableThirdParty), and TPAs should not work at all if TPAs aren't enabled. If the user tries to open a TPA without TPAs being enabled, a dialog should show instructing the user to go to the settings app to enable TPAs. This dialog is already implemented elsewhere (I thinkSpawnUserContext). When the user enables TPAs, the service should be started. When the user disables TPAs, the service should be stopped. The state of the service should always match the enablement of TPAs.