[MAGNOLIA-970] ACLs doesn not work for templates Created: 12/Jul/06  Updated: 23/Jan/13  Resolved: 12/Jul/06

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 3.0 RC2
Fix Version/s: 3.0 RC3

Type: Bug Priority: Critical
Reporter: Ralf Hirning Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 5m
Time Spent: Not Specified
Original Estimate: 5m

Attachments: Text File info.magnolia.cms.beans.config.Template.java.patch.txt    
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   

ACL cannot be evaluated correctly for templates because templates' locations are not stored. To fix add this

if (getLocation() == null)

{ parameters.put("location", c.getHandle()); }

to the constructor of info.magnolia.cms.beans.config.Template.

I will append a patch file...



 Comments   
Comment by Ralf Hirning [ 12/Jul/06 ]

The patch...

Comment by Philipp Bracher [ 12/Jul/06 ]

Applied

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