MagnoliaTemplatingUtilities: isEditMode() should also check for write 
permissions ?
-----------------------------------------------------------------------------------

                 Key: MAGNOLIA-3480
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3480
             Project: Magnolia
          Issue Type: Improvement
          Components: templating
            Reporter: Grégory Joseph
            Assignee: Philipp Bärfuss
             Fix For: 4.4.2


In a FreeMarker template, doing {{[#if mgnl.editMode]}} can be quite useful to 
conditionally display edit bars or other elements. Perhaps as a separate 
function, we should also check for the current user's permissions - if she 
doesn't have permissions to write on the current element (or on a given element 
if we add another function), it doesn't make sense to display an edit bar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to