[MAGNOLIA-3061] Generalize permission checking across the Content and HierarchyManager Created: 08/Feb/10  Updated: 23/Jan/13  Resolved: 08/Feb/10

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.2.3
Fix Version/s: 4.3

Type: Improvement Priority: Major
Reporter: Jan Haderka 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)

 Description   

Content provides general way for checking the permissions by isGranted() method. There is no equivalent in HierarchyManager. This becomes more important with wider use of wrappers for the HierarchyManager that can alter path and/or Content in various ways. HM should therefore provide similar isGranted() method and ContentSecurityFilter should make use of it instead of trying to check permissions directly.


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