Add an admin page for viewing and managing licenses.

Review Request #14404 — Created April 28, 2025 and updated — Latest diff uploaded

Information

Review Board
release-7.1.x

Reviewers

This adds a new dedicated Licenses page in the Admin UI for seeing all
current registered licenses across License Providers. These indicate the
state of the licenses, expiration information, provide license
management, actions, and custom line items.

Each license is represented by a License model and LicenseView view,
backed by state provided by the License Provider. Custom models, views,
and data can be provided as needed.

Some basic infrastructure is set up for custom actions and license
checks. To ease review, those capabilities will be introduced in a
follow-up change.

Python and JavaScript unit tests passed.

Tested this with some custom License Providers registered in extensions
as tests, and with Power Pack ported over to License Providers. Verified
that all the state and status updates introduced in this change function
as expected.

Changes between revision 1 and 2

orig
1
2

Commits

Summary ID Author
Add an admin page for viewing and managing licenses.
This adds a new dedicated Licenses page in the Admin UI for seeing all current registered licenses across License Providers. These indicate the state of the licenses, expiration information, provide license management, actions, and custom line items. Each license is represented by a `License` model and `LicenseView` view, backed by state provided by the License Provider. Custom models, views, and data can be provided as needed. Some basic infrastructure is set up for custom actions and license checks. To ease review, those capabilities will be introduced in a follow-up change.
dbc60a990cb29fad5e214c98abaa8b6977c7c0bf Christian Hammond
Add an admin page for viewing and managing licenses.
This adds a new dedicated Licenses page in the Admin UI for seeing all current registered licenses across License Providers. These indicate the state of the licenses, expiration information, provide license management, actions, and custom line items. Each license is represented by a `License` model and `LicenseView` view, backed by state provided by the License Provider. Custom models, views, and data can be provided as needed. Some basic infrastructure is set up for custom actions and license checks. To ease review, those capabilities will be introduced in a follow-up change.
94a6067c0c98c25dd29cdc1e12649c75ab56826b Christian Hammond
reviewboard/licensing/tests/test_licenses_view.py
Loading...