[SPARE-1] Area permission have no effect Created: 23/Sep/21 Updated: 23/Sep/21 |
|
| Status: | Open |
| Project: | SPA Rendering Extended |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Marc Johnen | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
SPA extended |
||
| Template: |
|
| Acceptance criteria: |
[ ]*
User can not edit the magnolia-template:components/Text when not being a superuser.
|
| 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 |
|
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
|