[MAGNOLIA-1710] single instance: author and edit mode distinguished through permissions Created: 30/Aug/07  Updated: 23/Jan/13  Resolved: 30/Aug/07

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 3.1 M3
Fix Version/s: 3.5 RC1

Type: Improvement Priority: Major
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
Resolution: Not an issue 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)
Date of First Response:

 Description   

The edit bars or similar things are currently rendered depending on a static method Server.isAdmin(). Therefore it is not possible to show or not show the bars depending on the users permissions or other criteria.

This must be replaced by something which is customizable. The default implementation should check the write permission of the user on the current page.

This allows to have a wiki like system (at least partial). As we have now a public user module this can be realized very easily.



 Comments   
Comment by Philipp Bracher [ 30/Aug/07 ]

Wow, in case the instance has the admin flag set to true, this is already working

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