Enable extensible condition support.
Review Request #14705 — Created Nov. 24, 2025 and updated
Review Board is gaining a centralized
ReviewRequestConditionsField
and a central registry that reflects any choices provided by extensions.
This change makes use of that, providing a compatibility class for older
versions of Review Board that behaves as before.This change pretty much copies /r/14281 where we enabled extensible
condition support for RBIntegrations.
- Ran unit tests.
- Saw Power Pack's new owner and participant user role conditions
in a tool config page. - Was able to trigger the tool using the owner condition (the
participant condition requires more work in a separate change). - Tested on RB 7.0.4 dev server too.
| Summary | ID |
|---|---|
| 8ecf4f902a5de1c1d69ed1110a04e5e80cc21c64 |
| Description | From | Last Updated |
|---|---|---|
|
This doesn't seem appropriate. We might be running a type checker inside an RB7 tree with this code, plus lower … |
|
|
|
Let's add one more blank line here. |
|
|
|
too many blank lines (2) Column: 9 Error code: E303 |
|
|
|
line too long (83 > 79 characters) Column: 80 Error code: E501 |
|
- Testing Done:
-
- Ran unit tests.
- Saw Power Pack's new owner and participant user role conditions
in a tool config page.
- Was able to trigger the tool using the owner condition (the
participant condition requires more work in a separate change).
+ - Tested on RB 7.0.4 dev server too.
- Commits:
-
Summary ID 9e4db91a047b82186c42a1888ebbea9d7e1f37ec 8ecf4f902a5de1c1d69ed1110a04e5e80cc21c64