Details
-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
SPA extended
Description
When using SPA (extended), the area permissions have no effect.
title: SPA Home
dialog: magnolia-template:pages/Page
templateScript: http://localhost:3000
renderType: spaExtended
class: info.magnolia.rendering.spa.renderer.SpaRenderableDefinition
areas:
main:
title: Main area
availableComponents:
text:
id: magnolia-template:components/Text
roles:
- superuser
list:
id: magnolia-template:components/List
roles:
- superuser
- editor
No matter what role, users can edit/add the text component.
When using freemarker, it works as expected.
title: FTL Home
dialog: magnolia-template:pages/Page
templateScript: /magnolia-template/templates/pages/main.ftl
renderType: site
areas:
main:
title: Main area
availableComponents:
text:
id: magnolia-template:components/Text
roles:
- superuser
list:
id: magnolia-template:components/List
roles:
- superuser
- editor
Checklists
Acceptance criteria