Plugins: an administrator can hold a plugin or pin it to a version #1264
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#1264
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The need
An administrator should be able to pin a plugin to a version, or hold it where it is, so that nothing upgrades it automatically (#1187's updates) or by a single click on a bulk "update all". Reasons: the newest release is not yet trusted, it needs a Postulo version this instance has not reached, a bug was found in it, a site has reviewed one version and wants to stay on it, or a downgrade after a bad upgrade.
Wanted
plugins/models.py), so it survives restarts and upgrades of Postulo; it shows on the plugin's row with who set it and when, and why if they wrote a note.requires, #884) cannot be moved to a version the dependant does not accept; say what is blocking it.POSTULO_PLUGIN_PINS,name==versionentries), for people who deploy from a file; an environment pin wins and cannot be changed from the page, as pinned catalogues cannot (#1263).Tests
A held plugin is skipped by the automatic and bulk update and still shown with its newer release; a pin installs exactly that version, down- or up-grade, with rollback if it fails; a security release for a held plugin is flagged, not applied; an incompatible pin is refused with the reason; an environment pin cannot be edited on the page; the hold survives a restart and a core upgrade; the audit log has the entry.
Strings go through Weblate only. Related: #1187 (updates), #1263 (the manifest), #884, #186, #1252.