[MAGNOLIA-377] editBar runs only in AdminOnly Created: 06/May/05  Updated: 17/Mar/09  Resolved: 08/Aug/08

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

from a email:

i tried to follow why i have problems with the <cms:editBar>. I was surprised about the following:
<cms:editBar paragraph="exerciseTitle" contentNodeName="testPage" />

does not draw the edit bar, but
<cms:adminOnly>
<cms:editBar paragraph="exerciseTitle" contentNodeName="testPage" />
</cms:adminOnly>

draws the editbar! but somehow i can not believe, that <cms:adminOnly> is the reason to draw the editbar, since the main bar is shown without <cms:adminOnly>. but if that is the case, wouldn't it be possible, similar as for the main bar, to determine "internally" in which instance the code runs and draw the editbar accordingly?



 Comments   
Comment by Philipp Bracher [ 17/May/06 ]

Not scheduled

Comment by Jan Haderka [ 08/Aug/08 ]

As of 3.6.1 use

<cms:editBar adminOnly="true" />
Generated at Mon Feb 12 03:16:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.