[MAGNOLIA-2396] User context is used to update activation metadata Created: 26/Sep/08 Updated: 23/Jan/13 Resolved: 15/May/09 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | activation |
| Affects Version/s: | None |
| Fix Version/s: | 4.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Philippe Marschall | Assignee: | Jan Haderka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| 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
|
| Date of First Response: |
| Description |
|
For activation of content an arbitrary user can be used. The method info.magnolia.cms.exchange.Syndicator.init(User, String, String, Rule) allows to pass the user to be used in the syndicator. However to update the activation details the user from the current web context is used. This is a problem if the current web user is not allowed to edit the metadata of an activated node. I think the methods #updateActivationDetails and #updateDeactivationDetails in BaseSyndicatorImpl should use the system context instead of the current web context. |
| Comments |
| Comment by Jan Haderka [ 15/May/09 ] |
|
Done on trunk as of r25112. |