[MGNLIMG-110] AccessDeniedException on public instance after migration Created: 24/May/13  Updated: 14/Apr/14  Resolved: 29/May/13

Status: Closed
Project: Imaging
Component/s: None
Affects Version/s: None
Fix Version/s: 2.2.3

Type: Bug Priority: Major
Reporter: Milan Divilek Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
is superseded by MGNLIMG-130 Consistently use system context when ... Closed
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

 Description   

After migration when browsing pages like anonymous user images are not visible and AccessDeniedException occure in log.

2013-05-24 16:15:24,464 ERROR info.magnolia.module.cache.filter.CacheFilter     : A request started to cache but failed with an exception (AccessDeniedException: Access denied). [url=http://localhost:8080/magnoliaPublic/.imaging/stk/pop/stage/dms/demo-project/img/bk/Stage/lights-stage/document/lights-stage.jpg], [key=DefaultCacheKey{uri='/.imaging/stk/pop/stage/dms/demo-project/img/bk/Stage/lights-stage/document/lights-stage.jpg', serverName='localhost', locale='en', channel='desktop', params={}', secure='false'}]

When you log (superuser, eric, peter) than images are visible. Anonymous user has role imaging-base which add acl "Read/Write permission in the workspace imaging with path /*".

I tried restart instance, clean cash and nothing helps.


Generated at Mon Feb 12 02:12:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.