Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3480

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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • templating
    • None

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD