Actions
Bug #25503
openChanges on system objects should not have rollback and links in events logs
Pull Request:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
When consulting event logs and searching for events on system directives and rules (e.g. the one created for system-updates campaigns), I can get a link on those objects and access a page that is supposed to be hidden for them, I can even attempt to rollback those events :
Hopefully, attempting a rollback leads to an error :
2024-09-20 10:13:47+0000 INFO api-processing.response-error - "Error when performing eventlog's rollback with id '123' <- The event log 123 don't have a matching commit ID and can't be restored"
Also the objects end up not being modifiable in the Directives and Rules pages (thanks to the API enforcing that system directives and rules are not modifiable).
We should hide the rollback section for system objects, and links should not be generated for new event logs on those objects
Files
Actions