[MAGNOLIA-5473] Activation monitor wrong user Created: 11/Nov/13  Updated: 04/Dec/13  Resolved: 04/Dec/13

Status: Closed
Project: Magnolia
Component/s: activation, workflow
Affects Version/s: 4.5.11
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Enrico De Stefanis Assignee: Jaroslav Simak
Resolution: Won't Fix Votes: 0
Labels: activation, workflow
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Testcase included:
Yes
Date of First Response:

 Description   

Hi,
the activation monitor always shows at the column user "superuser" and not the user that has activated the page as expected.

The class BaseSyndicatorImpl calls the method MemoryActivationStorage.logActivation and injects a user via the BaseActivationCommand that initializes it with MgnlContext.getUser().
In the command context the user is always the superuser.

Testcase:

  • Create a user with the same ACL of the superuser
  • Create and publish a page
  • Check the resulting log in the Activation Monitor

Thanks



 Comments   
Comment by Jaroslav Simak [ 04/Dec/13 ]

This behavior is expected as activations with workflow are done on behalf of superuser. This issue is fixed in 5.x branch.

Generated at Mon Feb 12 04:05:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.