Bug 52938 - Check on app settings values before app installation begins and optionally abort installation
Check on app settings values before app installation begins and optionally ab...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-17 12:21 CET by Nico Gulden
Modified: 2021-05-11 11:33 CEST (History)
0 users

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?: Yes
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2021-03-17 12:21:25 CET
As app developer I want to use the app installation process in order to check user input from app settings. Depending on the check results, the app installation is continued or aborted and the user receives a custom message on command line and in UMC.

This requires that app settings are requested from the administrator before any app life cycle scripts run. And the app settings values need to be available on UCS before the pre-inst script runs. This makes only sense for app settings in outside scope, though.

The pre-inst script is currently the only script in the context of the UCS system during app installation whose error code can result in aborting the app installation.