Actions
Bug #28452
closedADR for proper initialization of query context in Lift snippets
Bug #28452:
ADR for proper initialization of query context in Lift snippets
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
There are a lot of usage for the QueryContext (tenants datatype) in Lift snippets.
But having a CurrentUser that exposes a dumb one is not the right way to obtain the user : it causes issues described in #26605.
We should avoid using CurrentUser as possible, and use dedicated way to access QueryContext in snippets (as in #28404)
Updated by Clark ANDRIANASOLO 7 months ago
- Related to Bug #26605: CurrentUser.queryContext is null when used in a ZIO for added
Updated by Clark ANDRIANASOLO 7 months ago
- Related to Bug #28404: CurrentUser can have unknown actor and query context in snippets added
Updated by Clark ANDRIANASOLO 7 months ago
- Status changed from New to In progress
Updated by Clark ANDRIANASOLO 7 months ago
- Subject changed from ADR for proper initialization of snippets query context to ADR for proper initialization of query context in Lift snippets
- Status changed from In progress to New
Updated by Clark ANDRIANASOLO 7 months ago
- Description updated (diff)
Updated by Clark ANDRIANASOLO 7 months ago
- Status changed from New to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to Pauline IOGNA
- Pull Request set to https://github.com/Normation/rudder/pull/6959
Updated by Clark ANDRIANASOLO 7 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|2e8788b11467ae414e7d73dde5d60a81f1b1518e.
Updated by François ARMAND 7 months ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ 6 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.3.10, 9.0.5 and 9.1.0~rc1 which were released today.
Actions