Actions
Bug #28452
openADR for proper initialization of query context in Lift snippets
Bug #28452:
ADR for proper initialization of query context in Lift snippets
Status:
Pending technical review
Priority:
N/A
Assignee:
Category:
Security
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
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 3 days ago
- Related to Bug #26605: CurrentUser.queryContext is null when used in a ZIO for added
Updated by Clark ANDRIANASOLO 3 days ago
- Related to Bug #28404: CurrentUser can have unknown actor and query context in snippets added
Updated by Clark ANDRIANASOLO 3 days ago
- Status changed from New to In progress
Updated by Clark ANDRIANASOLO 3 days 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 3 days ago
- Description updated (diff)
Updated by Clark ANDRIANASOLO 3 days 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
Actions